Retrieves orders details for the given identifier
get
/ccstore/v1/selfservice/orders/{id}
Fetches the order details for the given identifier. The identifier-type can be either OrderKey or OrderNumber. Default is OrderKey. Please refer to Fusion Order Management REST API more detailed attributes.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): string
The identifier of the order to retrieve. The identifier can be either OrderKey or OrderNumber
Query Parameters
-
identifier-type: string
Identifier type to use. The identifier-type can be either OrderKey or OrderNumber. Default is OrderKey.
Response
Supported Media Types
- application/json
200 Response
Returned when operation succeeds.
Root Schema : getOrder_success_response
Example Response (application/json)
{
"Status":"Draft",
"CreationDate":"2024-04-16T09:54:20+00:00",
"BuyingPartyId":"1006",
"TransactionalCurrencyCode":"USD",
"HeaderId":"300100591540999",
"OrderNumber":"521233",
"totals":{
"offset":0,
"count":7,
"hasMore":false,
"limit":25,
"items":[
{
"TotalCode":"QP_TOTAL_SHIP_CHARGE",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541164",
"TotalName":"Shipping",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541164"
}
},
{
"TotalCode":"QP_TOTAL_DISCOUNT",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541163",
"TotalName":"Discount",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541163"
}
},
{
"TotalCode":"QP_TOTAL_NET_PRICE",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541162",
"TotalName":"Total Net Price",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541162"
}
},
{
"TotalCode":"QP_TOTAL_LIST_PRICE",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541161",
"TotalName":"Total List Price",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541161"
}
},
{
"TotalCode":"QP_TOTAL_PAY_NOW",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541167",
"TotalName":"Pay Now",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541167"
}
},
{
"TotalCode":"QP_TOTAL_CREDIT",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541166",
"TotalName":"Total Credit",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541166"
}
},
{
"TotalCode":"QP_TOTAL_TAX",
"CurrencyCode":"USD",
"OrderTotalId":"300100591541165",
"TotalName":"Total Tax",
"TotalAmount":"0",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A657870000000017704000000017372001B6F7261636C652E6A626F2E646F6D61696E2E4E756C6C56616C75655899C1C58DAABEEB02000149000A6D53514C54797065496478700000000C78"
},
"key":"300100591541165"
}
}
]
},
"SubmittedDate":null,
"SourceTransactionNumber":"521233",
"StatusCode":"DOO_DRAFT",
"@context":{
"headers":{
"ETag":"ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000778"
},
"key":"300100591540999"
},
"CustomerPONumber":null,
"BuyingPartyContactName":"paloju venkataramanchary",
"BuyingPartyName":"Computer Service and Rentals",
"SourceTransactionSystem":"GPR",
"SourceTransactionId":"300100591540999",
"links":[
{
"rel":"self",
"href":"http://localhost:8080/ccstoreui/v1/selfservice/orders/300100591540999"
}
],
"lines":{
"offset":0,
"count":0,
"hasMore":false,
"limit":25,
"items":[
]
},
"LastUpdateDate":"2024-04-16T09:57:53.031+00:00"
}
Default Response
Returned when operation fails.
Root Schema : getOrder_failure_response