curl --location --globoff 'https://api.byelabel.com/v1/order?filter={%22status%22%3A%22shipped%22}&last_id=&limit=limit%3D20' \
--header 'X-Workspace-Id: ' \
--header 'Authorization: Bearer <token>'{
"success": true,
"payload": {
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"status": "awaiting",
"store": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"vendor": "string"
},
"number": "string",
"date": "2019-08-24T14:15:22.123Z",
"tags": [
"string"
],
"to": {
"name": "string",
"company": "string",
"country": {
"code": "US",
"name": "string",
"flag": "string"
},
"zip_code": "string",
"state": {
"code": "string",
"name": "string"
},
"city": "string",
"street": [
"str"
],
"residential": true,
"phone": "string",
"email": "user@example.com",
"fax": "string",
"tax_identifiers": [
{
"type": "VAT",
"number": "string",
"authority": {
"code": "US",
"name": "string"
}
}
],
"sold_to": {
"name": "string",
"company": "string",
"country": {
"code": "US",
"name": "string",
"flag": "string"
},
"zip_code": "string",
"state": {
"code": "string",
"name": "string"
},
"city": "string",
"street": [
"str"
],
"residential": true,
"phone": "string",
"email": "user@example.com",
"fax": "string",
"tax_identifiers": [
{
"type": "VAT",
"number": "string",
"authority": {
"code": "US",
"name": "string"
}
}
]
}
},
"items": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"code": "string",
"description": "string",
"image_url": "string",
"hts_code": "string",
"country_of_origin": "string",
"quantity": 0,
"currency_code": "string",
"unit_selling_price": 0,
"total_selling_price": 0,
"weight": {
"unit": "lb",
"value": 0
}
}
],
"shipping": {
"package": {
"id": "string",
"description": "string",
"weight": {
"unit": "lb",
"value": 0
},
"dimensions": {
"unit": "in",
"length": 0,
"width": 0,
"height": 0
}
},
"from": {
"name": "string",
"company": "string",
"country_code": "US",
"zip_code": "string",
"state_code": "string",
"city": "string",
"street": [
"string"
],
"residential": true,
"phone": "string",
"email": "user@example.com",
"fax": "string",
"tax_number": "string",
"tax_identifiers": [
{
"type": "VAT",
"number": "string",
"authority": {
"code": "US",
"name": "string"
}
}
]
},
"carrier": {
"id": "string",
"code": "string",
"service": "string",
"packaging": "string"
},
"rating": {
"payload": {
"currency": "string",
"cost": 0,
"delivery": {
"date_time": "2019-08-24T14:15:22.123Z",
"day_of_week": "string",
"business_days_in_transit": 0,
"description": "string"
}
}
}
}
}
],
"limit": 0,
"more": 0
},
"transaction": {
"id": "string",
"response_time": 0
}
}