v1
latestOpenAPI 3.0.12026-07-242871595.3 MBORDERS
Create multiple line items
Create multiple line items in a single request. Each item must include a price for the request to succeed. The maximum number of line items per request is 100.
Note: To ensure platform stability, an order is limited to a maximum of 2,500 line items. If this call would cause the order to exceed this limit, the request will fail with a 400 Bad Request error.
post/v3/merchants/{mId}/orders/{orderId}/bulk_line_items
Path parameters
mIdstring required
Merchant Id
orderIdstring required
Order Id
Headers
User-Agentstring required
Identifies the application, operating system, vendor, and/or version of the requesting user agent. Format: <AppName>/<Version> <Comment>
Request body
Example request
{
"items": [
{
"refund": {
"LineItem": {
"refund": {
"cardTransaction": {
"last4": "1234"
}
}
}
}
}
]
}