Skip to content

Instantly share code, notes, and snippets.

@umair-khokhar
Created September 16, 2019 17:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save umair-khokhar/065e5ab156a4cf08c88c9f50ebde145a to your computer and use it in GitHub Desktop.
Save umair-khokhar/065e5ab156a4cf08c88c9f50ebde145a to your computer and use it in GitHub Desktop.
Shipment API JSON Schema
{
"data": {
"type": "shipments",
"id": "string",
"attributes": {
"tracking": {
"code": "string",
"carrier": "string",
"url": "string"
},
"cost": {
"shipping": 0,
"tax": 0,
"currency_iso": "string"
},
"weight": {
"value": 0,
"unit": "string"
},
"dimensions": {
"length": 0,
"height": 0,
"width": 0,
"unit": "string"
},
"shipped_at": "2019-09-16T17:15:26.223Z",
"uuid": "string"
},
"links": {
"self": "string"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment