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,
"toAddress": {
"name": "<string>",
"street1": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>",
"email": "<string>",
"company": "<string>",
"street2": "<string>",
"phone": "<string>"
},
"items": [
{
"sku": "COF-WHB-12O-COL-BOX",
"artworkUrl": "https://storage.roastify.app/mockup-images/a045d749-8372-44a0-aga3-098688ab6ad2.jpeg",
"quantity": 3,
"externalSourceId": "your-line-item-456"
}
],
"externalSourceId": "your-order-123",
"returnAddress": {
"name": "<string>",
"street1": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>",
"email": "<string>",
"company": "<string>",
"street2": "<string>",
"phone": "<string>"
},
"shipping": {
"carrier": "USPS",
"priority": "GroundAdvantage"
}
}
],
"pageInfo": {
"hasNextPage": true,
"endCursor": "<string>"
}
}Get all fulfillment orders for a service integration store.
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,
"toAddress": {
"name": "<string>",
"street1": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>",
"email": "<string>",
"company": "<string>",
"street2": "<string>",
"phone": "<string>"
},
"items": [
{
"sku": "COF-WHB-12O-COL-BOX",
"artworkUrl": "https://storage.roastify.app/mockup-images/a045d749-8372-44a0-aga3-098688ab6ad2.jpeg",
"quantity": 3,
"externalSourceId": "your-line-item-456"
}
],
"externalSourceId": "your-order-123",
"returnAddress": {
"name": "<string>",
"street1": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip": "<string>",
"email": "<string>",
"company": "<string>",
"street2": "<string>",
"phone": "<string>"
},
"shipping": {
"carrier": "USPS",
"priority": "GroundAdvantage"
}
}
],
"pageInfo": {
"hasNextPage": true,
"endCursor": "<string>"
}
}The API key to authenticate requests provided by Roastify. A Base or Pro plan is required to use the API.
The cursor to start from. This is the orderId of the last order in the previous page. This can also be found in the endCursor property of the previous page's response.
"5a441254-e4b7-43af-98a3-e9012cff7feb"
The number of results to return. Defaults to 20 and maximum is 100
"10"
Get all fulfillment orders
Show child attributes
Object ID
Created at
Updated at
Order status
Created, Picked, Printed, Packaged, Shipped, Canceled, CancelationRequested, Declined "Created"
Whether this is a test order
false
Recipient information
Show child attributes
Recipient name
1Address line 1
1City
1State
1Country
1ZIP code
1Email address
1Company name
Address line 2
Phone number
List of items in the order
1Show child attributes
SKU is required and tells Roastify the specific product and coffee blend of your line item.
"COF-WHB-12O-COL-BOX"
The url to a hosted image containing the line item's artwork. Be sure the image resolution matches the product specs exactly!
"https://storage.roastify.app/mockup-images/a045d749-8372-44a0-aga3-098688ab6ad2.jpeg"
Must be a number greater than 0
x >= 13
Your external source ID for this line item. This is an optional field that can be used to map line items from your system to Roastify.
"your-line-item-456"
Your external source ID. This is an optional field that can be used to map orders from your system to Roastify.
"your-order-123"
Optional return address. If not provided, uses the Roastify default distribution center address.
Show child attributes
Return address name
1Address line 1
1City
1State
1Country
1ZIP code
1Email address
1Company name
Address line 2
Phone number
Optional shipping information. This is only required for API users with custom shipping integrations with Roastify. Carrier and Priority need to be camelCase or PascalCase.
{
"carrier": "USPS",
"priority": "GroundAdvantage"
}