Confirm Order

Release a `Draft` order for ticket issuance, supplying the partner-side payment reference. Confirming an order that is already `Issued` is a no-op — the order is returned unchanged. Confirming an order in any other status returns `400 Bad Request`. Use `confirmOrder` when payment is captured separately from order creation. If you already have the payment reference at order creation time, include `paymentReference` directly in `createOrder` instead.

Authentication

x-np-api-keystring
API Key authentication via header

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

orderIdUUIDRequired
Globally unique identifier of a channel manager order, assigned by the Channel Manager when the order is accepted.

Headers

x-api-versiondateOptional

Used for API versioning. More details.

Request

This endpoint expects an object.
paymentReferencestringRequired

Reference to the partner-side payment transaction. May be supplied at order creation, or later via confirmOrder. Required to move an order from Draft to Issued. Maximum 20 characters.

Response

This endpoint returns an object.
orderIdUUID
Globally unique identifier of a channel manager order, assigned by the Channel Manager when the order is accepted.
statusenum

Lifecycle state of a channel manager order:

  • Draft — order is held pending payment confirmation. Call confirmOrder to release it.
  • Issued — tickets have been issued and the manifest is available.
  • Cancelled — order has been cancelled (deleteOrder on a non-deletable status).
  • Error — ticket issuance failed. Inspect statusMessage for details. The order can be replaced or deleted.
  • Processing — transient internal state committed while ticket issuance runs.
Allowed values:
partnerIdUUID

Globally unique identifier of the channel manager partner that originated the order. The partner must exist and be active in the Channel Manager Partner Setup; otherwise the order is rejected.

sellToOrderReferencestring

The partner’s own reference for the order. Unique per partner; combined with partnerId it identifies the order end-to-end. Maximum 50 characters.

receivedAtdatetime
UTC timestamp recorded when the Channel Manager accepted the order. ISO 8601.
itemslist of objects
sellToEmailstring

Email address of the customer the order is sold to. Stored on the order and on each issued wallet for the partner’s own use; the Channel Manager does not send anything to this address. Maximum 100 characters. Can be overridden per item.

sellToNamestring
Name of the customer the order is sold to. Maximum 100 characters. Can be overridden per item.
sellToLanguagestring

Language code (uppercased) for the customer the order is sold to. Stored on the order and on each issued wallet for the partner’s own use; the Channel Manager does not act on it. Must be a valid Business Central language code. Maximum 10 characters. Can be overridden per item.

paymentReferencestring

Reference to the partner-side payment transaction. May be supplied at order creation, or later via confirmOrder. Required to move an order from Draft to Issued. Maximum 20 characters.

jobIdstring
Background job identifier assigned by the Channel Manager when ticket issuance is queued for an order. Empty until issuance has been scheduled.
manifestUrlstring
URL of the printable wallet manifest, populated once ticket issuance has completed.