Orderstatus
Last updated
Last updated
POST
https://your.store.com/cottoncast/orderstatus
This url is an example. You can configure your own URL in your Studio account. Each time an order is updated in our system we will make a request to this webhook. For example when we ship an order.
Name | Type | Description |
---|---|---|
Code | Label | Description |
---|---|---|
status.timestamp
string
The time the status has changed
status.code
string
A status code. The letter "C" means Complete.
status
object
The status of the order
orderID
string
The Cottoncast Order ID
ref
string
The order reference you have passed along to us
N
New
The shipment has just been created
L
Label created
A label has been created and printed for the package(s).
R
Ready
The shipment is ready for collection by the carrier.
C
Collected
The shipment is collected by the carrier
E
En route
The shipment is en-route to the customer.
I
Problem
There is a problem with the shipment.
X
Lost
The package has been lost by the carrier.
D
Delivered
The package is delivered.