Skip to main content

Definition

Request a status update for an order-line : the request will be sent to the marketplace and processed before the status of the order-line is actually update to reflect that request.
Important: Status updates are asynchronous processes that require a validation from an external Marketplace system. Therefore, a successful response from these endpoints does NOT mean that the action itself was accepted by the Marketplace.To verify the state of status update on a given order-line, you should use the /merchant/orders/lines/status endoint.
Note: Every Marketplace has its own logic, workflow, and constraints in terms of order management. Example: not every marketplace allows the merchant to confirm order lines, other do not allow partial cancelation.
In practice, you should design your integration to the Neteven Order API in a way that permits Marketplace specific workflows.

Endpoints

Confirm order lines

Via the Neteven user interface, you can configure automatic confirmation/cancelation: this means that Neteven will confirm or cancel order lines as they are created based on their stock value.

Cancel order lines


Ship order lines


Refund order lines


Endpoint specific errors

Action already submitted

Response HTTP Header code : 409 Cause: You are trying to update an order line for which an update request is already pending (awaiting handshake from the Marketplace to Neteven). Actionable: Do not resubmit the request. If you want to ensure that the status update sent went through to the Marketplace (which all have various handling times), call the GET /order/lines/status endpoint to verify the state of the current request. Example:
{
“message”: “A pending {TASK-NAME: OneOf[confirm, cancel, ship, refund]} task already exists on this order_line_id: {order_line_id}”,
“code”: 409,
“title”: “Conflict”
}

API reference

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