Get Order

Retrieve the full representation of a channel manager order, including issued wallets and ticket assets. Since issuance is synchronous, in normal operation the response carries the final order state — `items[].wallets`, the ticket numbers under `assets`, and the `manifestUrl`. `getOrder` is mainly useful for re-fetching the order at a later point or for inspecting an order that was created by some other caller.

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.

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.