Skip to main content

Order line internal APIs (v0)

Download OpenAPI specification:Download

Team Order Management: team-order-management@newstore.com

Use this API to manage order line items. This is an internal API and should not be shared or used outside of NewStore.

Cancel line item

Use this resource to cancel line items.

Cancel line item

Use this resource to cancel line items.

Note:

  1. This is an internal API and should not be shared or used outside of NewStore.
  2. This API only supports pre-ordered line items and will throw an error for other line items.
  3. The line item can only be cancelled for non-terminal item statuses.
Authorizations:
newStoreAccessToken
path Parameters
uuid
required
string

UUID of the order item.

Responses

Response samples

Content type
application/json
Example

Bad request because the request is not valid.

{
  • "error_code": "bad_request",
  • "message": "Validation of cancel order request failed with error: 'reason' is a required property.",
  • "request_id": "ec2f3c9bb016ba971bf6074098363"
}