ORDER is the API reference for customer order handling in Unified Commerce scenarios such as webshop orders, in-store orders, click and collect, and endless aisles.
HTTP return codes
The API uses standard HTTP return codes for successful calls, missing or invalid request data, missing resources, and server-side errors.
Supported encoding
-
UTF-8
Web order methods
The source topic describes order methods used when ViKING controls the basket, when an external system such as a webshop controls the basket, and for common basket/order operations.
Field definitions
The source topic documents these order structures:
-
<Order>customer order header record (f221). -
<Line>customer order line (f221a). -
<TextLine>customer order text line (f221f). -
<ServiceLine>customer order service line (f221a). -
<Article>customer order article (f001). -
<ExchangeSticker>exchange sticker registrations on order (f221c).
API functions
ViKING controls the basket
Use these functions when ViKING is responsible for basket calculation and order handling.
External system controls the basket
Use these functions when a webshop or other external system controls basket calculation and sends the resulting order data to ViKING.
Common basket methods
The source topic also documents methods shared across order and basket flows.
Revision history
The source topic includes an Order API revision history section. Keep this page aligned with the source when API revisions are published.