Acknowledge package tracking
Acknowledges package tracking details
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Body
Package tracking acknowledgement object
Order number generated by fabric OMS
"order123"
ORDER_CREATE_IN_PTS
, ORDER_CANCELLED_IN_PTS
, SHIPMENT_CREATE_IN_PTS
, SHIPMENT_CANCELLED_IN_PTS
"ORDER_CREATE_IN_PTS"
ORDER
, SHIPMENT
"ORDER"
Shipment ID generated by fabric OMS
"shipment123"
Response
Order response body
Unique order number
"309019176"
Sales channel ID
"12"
"ORDER_CREATED"
OrderItem Model
Order shipping info
Number of updates happened to the order. Order-update refers to replacement, appeasement added, address change or any other order related update to the particular order.
Auto generated ID once the order created successfully
"5349b4ddd2781d08c09890f4"
Actual order creation date
"2022-05-12T09:30:31.198Z"
Order cancellation date if any
"2022-05-12T09:30:31.198Z"
Order allocation date after order is created
"2022-05-12T09:30:31.198Z"
ID of the cart where order is placed
"b03b72dc-78d8-4ea4-90fc-2fe6a1fe6569"
Platfrom using which order is created
WEB
, CSC
, MOBILE_APP
, POS
"WEB"
Operating system of the platfom as mentioned in the type
field. If you want to configure any custom valuefor this field, contact fabric.
IOS
, Android
, International
"International"
Order process name
"CANCEL"
Employee ID used when an employee places an order on behave of the customer.
"43278"
Order retail object for reatil transactions. For non-retail transactions, only location number is provided.
Order value after calculating discounts and any applicable fees
123.45
Original order total value
113.45
Final discount value on order amount
1.23
Original discount on order value
1.45
Total fees, if any, applicable on order amount
12.34
Original fees appliable on shipping of items
12.34
Total tax amount appliable on shipping of items
12.34
Appeasement amount, if any, processed on the order
12.34
Original tax amount on order during fist time order creation
12.34
Return amount incase of order return
12.34
Cancel amount incase of order cancellation
12.34
Invoice value on order
12.34
Total order amount after calculating fees, discounts, retrurn and cancellation if any
146.9
Order amount during first time order creation after calculating all fees, taxes, and discounts
146.9
"USD"
"Order Created"
{
"type": "String/Number/JSON",
"purchaseOrder": "String",
"salesRepId": "String",
"approve": "String",
"fraudCheckSessionId": "aee6d1face0e4d55948d1e30b6240048",
"fraudCheckStatus": "UPDATED",
"fraudCheckTransId": "0R12TQ46",
"fraudScore": "31"
}
Order fee detail model
Array of appeasements, if any
Order appeasement detail object
Order discount object
Order customer model
OrderPayment Model
OrderAuditLog Model
Order dispatched date and time
Date and time when the original order is modified for the first time, for example for return, cancellation or replacement
Date and time when the exisiting order is updated
Order response body
Unique order number
"309019176"
Sales channel ID
"12"
"ORDER_CREATED"
OrderItem Model
Order shipping info
Number of updates happened to the order. Order-update refers to replacement, appeasement added, address change or any other order related update to the particular order.
Auto generated ID once the order created successfully
"5349b4ddd2781d08c09890f4"
Actual order creation date
"2022-05-12T09:30:31.198Z"
Order cancellation date if any
"2022-05-12T09:30:31.198Z"
Order allocation date after order is created
"2022-05-12T09:30:31.198Z"
ID of the cart where order is placed
"b03b72dc-78d8-4ea4-90fc-2fe6a1fe6569"
Platfrom using which order is created
WEB
, CSC
, MOBILE_APP
, POS
"WEB"
Operating system of the platfom as mentioned in the type
field. If you want to configure any custom valuefor this field, contact fabric.
IOS
, Android
, International
"International"
Order process name
"CANCEL"
Employee ID used when an employee places an order on behave of the customer.
"43278"
Order retail object for reatil transactions. For non-retail transactions, only location number is provided.
Order value after calculating discounts and any applicable fees
123.45
Original order total value
113.45
Final discount value on order amount
1.23
Original discount on order value
1.45
Total fees, if any, applicable on order amount
12.34
Original fees appliable on shipping of items
12.34
Total tax amount appliable on shipping of items
12.34
Appeasement amount, if any, processed on the order
12.34
Original tax amount on order during fist time order creation
12.34
Return amount incase of order return
12.34
Cancel amount incase of order cancellation
12.34
Invoice value on order
12.34
Total order amount after calculating fees, discounts, retrurn and cancellation if any
146.9
Order amount during first time order creation after calculating all fees, taxes, and discounts
146.9
"USD"
"Order Created"
{
"type": "String/Number/JSON",
"purchaseOrder": "String",
"salesRepId": "String",
"approve": "String",
"fraudCheckSessionId": "aee6d1face0e4d55948d1e30b6240048",
"fraudCheckStatus": "UPDATED",
"fraudCheckTransId": "0R12TQ46",
"fraudScore": "31"
}
Order fee detail model
Array of appeasements, if any
Order appeasement detail object
Order discount object
Order customer model
OrderPayment Model
OrderAuditLog Model
Order dispatched date and time
Date and time when the original order is modified for the first time, for example for return, cancellation or replacement
Date and time when the exisiting order is updated
Shipment object
Shipment ID generated by fabric OMS
"627963716b19511e8a3a631b"
Shipment number generated by fabric OMS
"78974156816152"
Invoice ID generated by fabric OMS
"5674156816152"
Allocation ID generated by fabric OMS
"112345678912340"
Order number
Order number
112345678912340
Purchase order number
1125
Vendor ID
56
Shipment status code
"SHIPPED"
Shipment type
"STANDARD"
Re-shipment reason code, if any
"Order went missing"
Shipping date
"2022-06-06T07:58:30.996Z"
Location number
"132412"
Location type
"DC"
Total number of cartons
2
Master tracking number
"TX112345678"
Unique ID to link item with its shipping address. If all items of an order are shipped to single address, then all items will have same shipTo id. If multiple items of an order are shipped to multiple shipping address, then corresponding shipTo id is linked to each item.
"1"
ShipmentShipToAddress Model
Recipient list
ShipmentRecipient Model
Cartons list
Shipment carton object
Scratched items list
Shipment scratched item object
Created date
"2022-06-06T07:58:30.996Z"
Updated date
"2022-06-06T07:58:30.996Z"
Audit logs list
ShipmentAuditLog Model
Attributes to save any additional information