Skip to main content
POST
Request Order Cancellation

Authorizations

Authorization
string
header
required

Bearer JWT. Usage format: Bearer <JWT>. Two kinds of token are accepted:

  • The JWT issued to a seller after they sign up for a JTL-Scx subscription via the JTL Customer Center.
  • An access token of the JTL Cloud (Zitadel). The JTL account the token belongs to must have been connected to SCX once through POST /v1/seller/login and must have an active tariff. Otherwise the request is answered with HTTP 403 and error code SLR103; the login does not help without an active tariff. When SCX cannot load the signing keys of the JTL Cloud, the request is answered with HTTP 502 and error code SLR102; retry later.

Body

application/json

Seller-initiated request to cancel one or more line items of an existing marketplace order.

Cancellation request the seller submits to the marketplace for an order, scoped to a specific channel.

channel
string
required

This is the unique Channel name.

Pattern: ^\w{5,15}$
Example:

"MYBESTDEALCOMDE"

orderCancellationRequestId
string<uuid>
required

A unique identifier for the order cancellation request. This ID should by used by Seller to identify the cancellation response from the Channel.

Example:

"82992d3a-b153-4422-b539-f4d1f1b4aecb"

sellerId
string
required

A unique Id identify a Seller on a specific SalesChannel. The SellerId is generated from the Channel itself during the Seller SignUp Process.

Pattern: ^\w{1,50}$
Example:

"4711"

orderId
string
required
Required string length: 1 - 150
Example:

"43523-43432-43532"

orderItem
OrderCancellationItem · object[] | null
required
Minimum array length: 1
cancelReason
enum<string>
  • BUYER_CANCELLED: the buyer cancelled the order.
  • UNDELIVERABLE_TO_SHIPPING_ADDRESS: Could not deliver to the address given by the buyer.
  • UNDELIVERABLE_BY_CARRIER: Carrier does not ship to the buyer's location.
  • OUT_OF_STOCK: The item is out of stock, for example because you are temporarily or permanently sold out.
  • DELAYED_INVENTORY: The item is not in your inventory and there is a delay in delivery by the supplier.
  • PRICING_ERROR: The price on the connected marketplace was incorrect.
  • OTHER: Well, obviously there is some reason missing in this list.
Available options:
BUYER_CANCELLED,
UNDELIVERABLE_TO_SHIPPING_ADDRESS,
UNDELIVERABLE_BY_CARRIER,
OUT_OF_STOCK,
DELAYED_INVENTORY,
PRICING_ERROR,
OTHER
message
string
Maximum string length: 1024

Response

Order Cancellation received.