Search Custom Order Attributes API (Beta)
Inbound | GET | /search/order
Summary
This API will return the custom order and order line item attribute details corresponding to an orderCode and locationCode
Description
This API will take orderCode and locationCode as input and return all custom order attributes.
Â
Parameters
Parameter Name | Data Type | Description | Mandatory |
orderCode | String | order code whose details needs to be fetched | Yes |
locationCode | String | location to which that order belongs to | Yes |
Response
{
"locationCode": "string",
"orderCode": "string",
"orderCustomAttributes": {
"attribute1": "test_4e10f67e0585",
"attribute2": "test_df7f45161dbf",
"attribute3": "test_511554245071",
"attribute4": "test_285ab90a9a26",
"attribute5": "test_c9902353bd62",
"attribute6": "test_29bf877ad20e",
"attribute7": "test_f05c5ee7bda0",
"attribute9": "test_913b35f805f0",
"attribute10": "test_e3af29b52cda",
"channelMetadata": {
"MetaDataTestExample1": "test_13669a9d0d24",
"MetaDataTestExample2": "test_13669a9d0d25"
},
"currency": "test_ad35da54ae2f"
},
"orderItems": [
{
"cancelledQuantity": 0,
"channelDiscountPerUnit": 0,
"channelSkuCode": "string",
"orderItemCode": "string",
"orderedQuantity": 0,
"sellerDiscountPerUnit": 0,
"sellingPrice": 0,
"orderItemCustomAttributes": {
"attribute1": "test_9500ccd4855f",
"attribute2": "test_957207fbdbb0",
"attribute3": "test_e9c4494fc055",
"attribute4": "test_2c6670838f48",
"attribute5": "test_09156554f500",
"attribute6": "test_20ab8d00c447",
"attribute7": "test_f0c3e77287ae",
"attribute9": "test_691c1f899bb8",
"attribute10": "test_1e7511fe9fc8",
"channelMetadata": {
"MetaDataTestExample1": "test_13669a9d0d24",
"MetaDataTestExample2": "test_13669a9d0d25"
}
}
}
],
"orderStatus": "CREATED"
}
Â
| Data Type | Description | Mandatory? |
---|---|---|---|
| String | Location code of warehouse from where this order will get fulfilled | No |
| String | Unique code used by channel to identify the order | No |
| String | Possible values → ( | No |
| Object | Custom attributes for an order | No |
| String | Custom attribute 1 | No |
| String | Custom attribute 2 | No |
| String | Custom attribute 3 | No |
| String | Custom attribute 4 | No |
| String | Custom attribute 5 | No |
| String | Custom attribute 6 | No |
| String | Custom attribute 7 | No |
| String | Custom attribute 8 | No |
| String | Custom attribute 9 | No |
| String | Custom attribute 10 | No |
| Object | These are additonal fields which can be sent to Increff system and can be used in subsequent Posting workflows | No |
| String | Currency | No |
| Object | List of items for which order is placed | No |
| String | This is provided by the channel to uniquely identify each order item. | No |
| String | SKU code of order item | No |
orderItems. |
| ordered quantity of ordered item | No |
| Integer | Cancelled quantity for this sku | No |
| Double | Discount given by channel on SKU per unit | No |
| Double | Discount given by seller on SKU per unit | No |
| Double | Unit price of SKU including tax | No |
| Object | Order Item custom attributes | No |
| String | Custom attribute 1 | No |
| String | Custom attribute 2 | No |
| String | Custom attribute 3 | No |
| String | Custom attribute 4 | No |
| String | Custom attribute 5 | No |
| String | Custom attribute 6 | No |
| String | Custom attribute 7 | No |
| String | Custom attribute 8 | No |
| String | Custom attribute 9 | No |
| String | Custom attribute 10 | No |