Orders
Get All Orders
Orders
Get All Orders
Get all fulfillment orders for a service integration store.
GET
/
v1
/
orders
curl --request GET \
--url https://api.roastify.app/v1/orders \
--header 'x-api-key: <api-key>'
{
"orders": [
{
"orderId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"orderStatus": "Created",
"isTest": false,
"retailCosts": {
"currency": "usd",
"subtotal": 2500,
"discount": 100,
"tax": 150,
"total": 2900
},
"toAddress": {
"name": "<string>",
"company": "<string>",
"street1": "<string>",
"street2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>",
"phone": "<string>",
"email": "<string>"
},
"items": [
{
"sku": "COF-WHB-12O-COL-BOX",
"artworkUrl": "https://acme-aws-s3.com/designs/12oz-coffee-box-artwork.png",
"quantity": 3
}
]
}
],
"pageInfo": {
"endCursor": "<string>",
"hasNextPage": true
}
}
Authorizations
The API key to authenticate requests provided by Roastify. If you do not have an API key, please contact [email protected]
Response
200
application/json
Get all fulfillment orders
The response is of type object
.
curl --request GET \
--url https://api.roastify.app/v1/orders \
--header 'x-api-key: <api-key>'
{
"orders": [
{
"orderId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"orderStatus": "Created",
"isTest": false,
"retailCosts": {
"currency": "usd",
"subtotal": 2500,
"discount": 100,
"tax": 150,
"total": 2900
},
"toAddress": {
"name": "<string>",
"company": "<string>",
"street1": "<string>",
"street2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>",
"phone": "<string>",
"email": "<string>"
},
"items": [
{
"sku": "COF-WHB-12O-COL-BOX",
"artworkUrl": "https://acme-aws-s3.com/designs/12oz-coffee-box-artwork.png",
"quantity": 3
}
]
}
],
"pageInfo": {
"endCursor": "<string>",
"hasNextPage": true
}
}