Read all orders
Rate limit - 1/5s
get/2023-10/order
Request
- Base URLhttps://api.loopsubscriptions.com/admin
- URLhttps://api.loopsubscriptions.com/admin/2023-10/order
- AuthAPI key in header X-Loop-Token
Query parameters
pageNointeger
pageSizeinteger
shopifyCreatedAtStartEpochinteger
Start date epoch for filter based on order shopifyCreatedAt date.
shopifyCreatedAtEndEpochinteger
End date epoch for filter based on order shopifyCreatedAt date.
updatedAtStartEpochinteger
Start date epoch for filter based on order updationAt date
updatedAtEndEpochinteger
End date epoch for filter based on order updationAt date
Response
200
Example response
{
"success": true,
"message": "Orders fetched successfully",
"data": [
{
"id": 63770196,
"shopifyId": 5358516896053,
"status": "PROCESSED",
"billingDateEpoch": 1682417885,
"financialStatus": "paid",
"shopifyCreatedAt": "2023-04-25T10:18:02.000Z",
"shopifyProcessedAt": "2023-04-25T10:17:58.000Z",
"shopifyUpdatedAt": "2023-04-25T10:18:03.000Z",
"currencyCode": "USD",
"totalPriceUsd": "4.25",
"totalDiscount": "0.40",
"totalLineItemsPrice": "4.00",
"totalShippingPrice": "0.00",
"shopifyOrderNumber": 1263,
"customer": {
"id": 47,
"shopifyId": 6751107678517
},
"subscription": {
"id": 1136,
"shopifyId": 10885660981
},
"lines": [
{
"productShopifyId": 8114707398965,
"variantShopifyId": 44401703518517,
"productTitle": "product 4",
"name": "product 4",
"quantity": 2,
"price": 2,
"isOneTime": true
}
]
}
],
"code": "SUCCESS",
"pageInfo": {
"hasNextPage": true,
"hasPreviousPage": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.