GET /v1/commerce/orders
GET
/v1/commerce/ordersAuthorization
bearerAuthbearerAuthrequiredor
apiKeyAuthapiKeyAuthrequiredQuery parameters
limitinteger<int32>min 1 · max 100 · default: 20
offsetinteger<int32>min 0 · default: 0
Responses
200OK
itemsOrder[] | nullrequiredShow propertiesHide properties
Array of
Ordercheckout_uploadsstring[] | nullcontact_idstringcreated_atstringcustomer_emailstringcustomer_namestringcustomer_phonestringrequireddelivery_datestringdelivery_fee_amountinteger<int64>requireddelivery_methodstringdelivery_method_idstringdelivery_timeslotstringdiscount_amountinteger<int64>requireddraft_order_idstringfulfillment_carrierstringfulfillment_notesstringidstringrequirednotesstringorder_nostringrequiredorganization_idstringpayment_methodstringreferral_codestringshipping_addressCheckoutShippingAddressShow propertiesHide properties
addressstringrequiredarea_idstringarea_namestringcitystringrequireddistrictstringrequiredprovincestringrequiredshipping_metadataOrderShippingMetadataShow propertiesHide properties
bookingOrderBookingMetadataShow propertiesHide properties
booking_modestringbooking_schedule_sourcestringbooking_schedule_updated_atstringchecked_in_atstringcheckin_token_hashstringcheckout_tokenstringgoogle_calendar_event_idstringgoogle_calendar_event_urlstringgoogle_calendar_last_synced_atstringgoogle_calendar_sync_errorstringgoogle_calendar_sync_statusstringgoogle_meet_urlstringhas_scheduled_bookingbooleanstaff_idstringstaff_namestringvideo_conference_overridestringzoom_meeting_urlstringlive_shippingLiveShippingMetadataShow propertiesHide properties
biteship_order_idstringbiteship_price_idrinteger<int64>confirm_errorstringconfirm_statusstringcourier_codestringcourier_service_codestringdestination_area_idstringdraft_order_idstringlast_webhook_eventstringlast_webhook_statusstringpaymentOrderPaymentMetadataShow propertiesHide properties
checkout_urlstringorder_nostringorganization_idstringpayment_methodstringpayment_session_idstringproviderstringreference_idstringstore_namestringstore_slugstringsubscriptionOrderSubscriptionMetadataShow propertiesHide properties
prepaid_deliveries_remaininginteger<int32>requiredprepaid_deliveries_totalinteger<int32>requiredsource_referencestringstatusstringrequiredsubtotal_amountinteger<int64>requiredtotal_amountinteger<int64>requiredtracking_numberstringtracking_urlstringdefaultError
errorErrorBodyrequiredShow propertiesHide properties
codestringrequireddetailsErrorDetail[] | nullShow propertiesHide properties
Array of
ErrorDetailcodestringfieldstringlocationstringmessagestringrequiredmessagestringrequiredrequest_idstringRequest
curl -X GET "/v1/commerce/orders"const response = await fetch("/v1/commerce/orders", {
method: "GET"
});import requests
response = requests.get(
"/v1/commerce/orders",
)Response
{
"items": [
{
"checkout_uploads": [
"string"
],
"contact_id": "string",
"created_at": "string",
"customer_email": "string",
"customer_name": "string",
"customer_phone": "string",
"delivery_date": "string",
"delivery_fee_amount": 0,
"delivery_method": "string",
"delivery_method_id": "string",
"delivery_timeslot": "string",
"discount_amount": 0,
"draft_order_id": "string",
"fulfillment_carrier": "string",
"fulfillment_notes": "string",
"id": "string",
"notes": "string",
"order_no": "string",
"organization_id": "string",
"payment_method": "string",
"referral_code": "string",
"shipping_address": {
"address": "string",
"area_id": "string",
"area_name": "string",
"city": "string",
"district": "string",
"province": "string"
},
"shipping_metadata": {
"booking": {
"booking_mode": "string",
"booking_schedule_source": "string",
"booking_schedule_updated_at": "string",
"checked_in_at": "string",
"checkin_token_hash": "string",
"checkout_token": "string",
"google_calendar_event_id": "string",
"google_calendar_event_url": "string",
"google_calendar_last_synced_at": "string",
"google_calendar_sync_error": "string",
"google_calendar_sync_status": "string",
"google_meet_url": "string",
"has_scheduled_booking": true,
"staff_id": "string",
"staff_name": "string",
"video_conference_override": "string",
"zoom_meeting_url": "string"
},
"live_shipping": {
"biteship_order_id": "string",
"biteship_price_idr": 0,
"confirm_error": "string",
"confirm_status": "string",
"courier_code": "string",
"courier_service_code": "string",
"destination_area_id": "string",
"draft_order_id": "string",
"last_webhook_event": "string",
"last_webhook_status": "string"
},
"payment": {
"checkout_url": "string",
"order_no": "string",
"organization_id": "string",
"payment_method": "string",
"payment_session_id": "string",
"provider": "string",
"reference_id": "string",
"store_name": "string",
"store_slug": "string"
},
"subscription": {
"prepaid_deliveries_remaining": 0,
"prepaid_deliveries_total": 0
}
},
"source_reference": "string",
"status": "string",
"subtotal_amount": 0,
"total_amount": 0,
"tracking_number": "string",
"tracking_url": "string"
}
]
}{
"error": {
"code": "string",
"details": [
{
"code": "string",
"field": "string",
"location": "string",
"message": "string"
}
],
"message": "string",
"request_id": "string"
}
}