Skip to main content

Definition

Retrieve your Marketplace orders from Neteven in order to integrate them into your system.

Endpoints

Get new orders

Endpoint definition

Important: an order will show in the response of the GET /merchant/orders/new if there is at least one of its order_lines is not considered as “retrieved” yet. The order_lines that are already acknowledged or already completed will not be returned, even if their corresponding order is.
examples:

Endpoint specific errors

This endpoint should never return any error besides validation errors (misuse of query params). If no orders are available, the data.orders list in the response will simply be empty.

Get orders based on filters

Endpoint definition

Example:

Endpoint specific errors

This endpoint should never return any error besides validation errors (misuse of query params). If no orders are available, the data.orders list in the response will simply be empty.

Get a single order

Endpoint definition

Example:

Endpoint specific errors

Response HTTP Header code : 404 Cause: The order id submitted was not recognized (it doesn’t exist on your account). Actionable : Ensure that the order_id sent as a path parameter is correct. Order id can be retrieved using the get /merchant/orders or get /merchant/orders/new endpoints. Do NOT retry the same call without verifying the validity of the order-id used as a path parameter.
It is very unlikely that you will encounter this error during the production phase, since you are retrieving the order-id to use as a path parameter from a GET /merchant/orders endpoint.
Example:
{
“message”: “order {order-id} not recognized”,
“code”: 404,
“title”: “Not Found
}

API reference

more information on parameters, responses and content in the API Reference