GET api/orders/customer/{customer_id}?store_id={store_id}
Retrieve all orders for customer
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customer_id |
Id of the customer whoes orders you want to get |
integer |
Required |
store_id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OrdersRootObjectName | Description | Type | Additional information |
---|---|---|---|
orders | Collection of OrderDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "orders": [ { "id": 1, "order_date": "2025-04-03T03:49:02.0069885+05:00", "customer_id": 1, "payment_cash": 1.0, "payment_terminal": 2.0, "payment_click": 3.0, "payment_payme": 4.0, "payment_humo": 5.0, "payment_humo_visa": 6.0, "payment_humo_master_card": 7.0, "payment_unired": 8.0, "payment_zmarket": 9.0, "notes": "sample string 10", "shipment_id": 11, "shipment_address": "sample string 12", "shipment_pay_amount": 13.0, "type_order": 14, "bonus_payment": 15.0, "promo_code": "sample string 16", "web_order_number": "sample string 17", "web_order_date": "2025-04-03T03:49:02.0069885+05:00", "order_items": [ { "id": 1, "client_production_id": 1, "production_id": 2, "article": "sample string 3", "color": "sample string 4", "size": "sample string 5", "quantity": 6, "pay_amount": 7.0, "pay_amount_total": 8.0, "discount_percent": 9.0, "discount_amount": 10.0, "discount_amount_total": 11.0, "retail_price": 12.0, "current_price": 13.0, "discount_type": "sample string 14", "market_share_id": 1, "current_discount_percent": 15.0, "current_discount_amount": 16.0, "current_discount_type": "sample string 17", "brand_name": "sample string 18" }, { "id": 1, "client_production_id": 1, "production_id": 2, "article": "sample string 3", "color": "sample string 4", "size": "sample string 5", "quantity": 6, "pay_amount": 7.0, "pay_amount_total": 8.0, "discount_percent": 9.0, "discount_amount": 10.0, "discount_amount_total": 11.0, "retail_price": 12.0, "current_price": 13.0, "discount_type": "sample string 14", "market_share_id": 1, "current_discount_percent": 15.0, "current_discount_amount": 16.0, "current_discount_type": "sample string 17", "brand_name": "sample string 18" } ] }, { "id": 1, "order_date": "2025-04-03T03:49:02.0069885+05:00", "customer_id": 1, "payment_cash": 1.0, "payment_terminal": 2.0, "payment_click": 3.0, "payment_payme": 4.0, "payment_humo": 5.0, "payment_humo_visa": 6.0, "payment_humo_master_card": 7.0, "payment_unired": 8.0, "payment_zmarket": 9.0, "notes": "sample string 10", "shipment_id": 11, "shipment_address": "sample string 12", "shipment_pay_amount": 13.0, "type_order": 14, "bonus_payment": 15.0, "promo_code": "sample string 16", "web_order_number": "sample string 17", "web_order_date": "2025-04-03T03:49:02.0069885+05:00", "order_items": [ { "id": 1, "client_production_id": 1, "production_id": 2, "article": "sample string 3", "color": "sample string 4", "size": "sample string 5", "quantity": 6, "pay_amount": 7.0, "pay_amount_total": 8.0, "discount_percent": 9.0, "discount_amount": 10.0, "discount_amount_total": 11.0, "retail_price": 12.0, "current_price": 13.0, "discount_type": "sample string 14", "market_share_id": 1, "current_discount_percent": 15.0, "current_discount_amount": 16.0, "current_discount_type": "sample string 17", "brand_name": "sample string 18" }, { "id": 1, "client_production_id": 1, "production_id": 2, "article": "sample string 3", "color": "sample string 4", "size": "sample string 5", "quantity": 6, "pay_amount": 7.0, "pay_amount_total": 8.0, "discount_percent": 9.0, "discount_amount": 10.0, "discount_amount_total": 11.0, "retail_price": 12.0, "current_price": 13.0, "discount_type": "sample string 14", "market_share_id": 1, "current_discount_percent": 15.0, "current_discount_amount": 16.0, "current_discount_type": "sample string 17", "brand_name": "sample string 18" } ] } ] }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.