Orders

Retrieve your store's orders including line items, customer addresses, and fulfillment status.

GET/api/v1/orders
Permission required: orders:read

Query Parameters

ParameterTypeDefaultDescription
marketstring | arrayFilter orders by market. Pass a single value (market=US) or multiple (market[]=US&market[]=EU). Max 20 values, each a 2-letter country code.
limitinteger20Number of results per page. Range: 1–50.
pageinteger1Page number for pagination. Min: 1.
sort_fieldstringcreated_atField to sort by. Options: created_at, updated_at.
sort_orderstringDESCSort direction. Options: ASC, DESC.

Example Request

cURL
curl -X GET "https://api.storeep.com/v1/orders?market[]=US&market[]=EU&limit=5&sort_field=updated_at" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Response

200 OK
{
    "data": [
        {
            "id": 298437652918374563,
            "number": 1042,
            "subtotal": 59.98,
            "discount": 5.00,
            "shipping": 4.99,
            "vat": null,
            "total": 59.97,
            "currency": "USD",
            "market": "US",
            "shipping_method": "Standard Shipping",
            "payment_method": "Credit Card",
            "status": "confirmed",
            "is_abandoned": false,
            "is_duplicated": false,
            "is_returning": false,
            "is_paid": true,
            "is_fulfilled": false,
            "is_test": false,
            "created_at": "2025-02-10 08:15:00",
            "updated_at": "2025-02-10 09:30:00",
            "items": [
                {
                    "name": "Classic Cotton T-Shirt",
                    "price": 29.99,
                    "quantity": 2,
                    "sku": "SHIRT-M-BLUE",
                    "barcode": "1234567890123",
                    "weight": 0.25,
                    "variants": [
                        {
                            "type": "text",
                            "name": "Size",
                            "options": [{ "name": "M" }]
                        }
                    ]
                }
            ],
            "addresses": [
                {
                    "type": "shipping",
                    "fullname": "John Doe",
                    "firstname": "John",
                    "lastname": "Doe",
                    "company": null,
                    "address1": "123 Main St",
                    "address2": "Apt 4B",
                    "national_id": null,
                    "neighborhood": "Downtown",
                    "district": null,
                    "apartment": "4B",
                    "floor": "4",
                    "state_or_region": "California",
                    "city": "Los Angeles",
                    "commune": null,
                    "province": null,
                    "postal_code": "90001",
                    "phone": "+1234567890",
                    "whatsapp": null,
                    "link": null,
                    "color": null,
                    "note": "Leave at door"
                }
            ]
        }
    ],
    "meta": {
        "pagination": {
            "total": 230,
            "count": 5,
            "per_page": 5,
            "current_page": 1,
            "total_pages": 46,
            "links": {
                "next": "https://api.storeep.com/v1/orders?limit=5&sort_field=updated_at&page=2"
            }
        }
    }
}

Response Fields

Order Object

FieldTypeDescription
idintegerUnique order identifier.
numbernumberSequential order number.
subtotalfloatSubtotal before discounts and shipping.
discountfloat | nullDiscount amount applied.
shippingfloat | nullShipping cost.
vatfloat | nullVAT/tax amount.
totalfloatFinal order total.
currencystringCurrency code (e.g., "USD").
marketstringMarket the order was placed in.
shipping_methodstring | nullShipping method name.
payment_methodstring | nullPayment method used.
statusstringCurrent order status.
is_abandonedbooleanWhether the order was abandoned.
is_duplicatedbooleanWhether the order is a duplicate (matched a prior order within the last 5 days).
is_returningbooleanWhether the customer is returning (matched a prior order older than 5 days).
is_paidbooleanWhether payment has been received.
is_fulfilledbooleanWhether the order has been fulfilled.
is_testbooleanWhether this is a test order.
created_atstringCreation timestamp (UTC).
updated_atstringLast update timestamp (UTC).
itemsarrayLine items in the order.
addressesarrayShipping and billing addresses.

Item Object

FieldTypeDescription
namestringProduct name at time of purchase.
pricefloatUnit price.
quantityintegerNumber of units ordered.
skustring | nullStock keeping unit.
barcodestring | nullProduct barcode.
weightfloat | nullItem weight.
variantsarray | nullSelected variant options for this item.

Address Object

FieldTypeDescription
typestringAddress type (shipping or billing).
fullnamestring | nullFull name.
firstnamestring | nullFirst name.
lastnamestring | nullLast name.
companystring | nullCompany name.
address1string | nullPrimary address line.
address2string | nullSecondary address line.
national_idstring | nullNational ID number.
neighborhoodstring | nullNeighborhood name.
districtstring | nullDistrict name.
apartmentstring | nullApartment number.
floorstring | nullFloor number.
state_or_regionstring | nullState or region.
citystring | nullCity.
communestring | nullCommune.
provincestring | nullProvince.
postal_codestring | nullPostal or ZIP code.
phonestring | nullPhone number.
whatsappstring | nullWhatsApp number.
linkstring | nullCustomer-provided URL.
colorstring | nullCustomer-selected color (hex).
notestring | nullCustomer delivery note.