Get products from an order

Description

Get a list of all products for a specific order.


 Parameters

Name Data Type Status Description
auth-id Integer Required Authentication parameter
auth-password String Required Authentication parameter
order_id Integer Required Order ID. You can see this ID with the method List orders

Return: A list of all products selected from an order


Possible errors (example)

When the authentication of the API user is not correct, the API request will fail with the following status and statusDescription:

{"status":"Failed","statusDescription": "Invalid authentication, incorrect user ID or password."}

When an invalid value for "rows-per-page" is added or is missing, the following status will be returned:

{"status":"Failed","statusDescription": "Wrong or missing required parameter 'rows-per-page'."}

When an invalid value for "order_id" is added or is missing, the following status will be returned:

{"status":"Failed","statusDescription": "Invalid order_id".}

Note: These are example errors in JSON format.


Example

URL JSON: https://api.cloudns.net/orders/get-products.json
POST/GET: auth-id=0&auth-password=password&order_id=1

URL XML: https://api.cloudns.net/orders/get-products.xml
POST/GET: auth-id=0&auth-password=password&order_id=1


Last modified: 2025-06-25
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more