openapi: 3.0.0 info: title: Order Service version: '' contact: email: documentation@emporix.com description: |- Create an order from cart. servers: - url: 'https://api.emporix.io' tags: - name: Orders (Tenant-managed) description: Manage tenant orders. - name: Orders (Customer-managed) description: | Manage customer orders. **Authentication:** Standard is customer token (Bearer). Alternatively, use access token (client credentials) together with the `saas-token` header. paths: '/order-v2/{tenant}/salesorders': get: tags: - Orders (Tenant-managed) summary: Retrieving orders description: | Retrieves tenant orders for administrative purposes. To be used by tenant employees. security: - OAuth2: - order.order_read - order.order_read_by_vendor - order.order_manage_by_vendor operationId: GET-order-retrieve-tenant-orders responses: '200': description: | The request was successful. List of orders with details are returned. content: application/json: examples: Order list example: $ref: '#/components/examples/salesOrders' schema: $ref: '#/components/schemas/salesOrders' '400': $ref: '#/components/responses/trait_paged_400' '403': $ref: '#/components/responses/trait_restricted_403' '500': $ref: '#/components/responses/trait_500' parameters: - $ref: '#/components/parameters/trait_sortable_sort' - $ref: '#/components/parameters/trait_paged_pageNumber' - $ref: '#/components/parameters/trait_paged_pageSize' - $ref: '#/components/parameters/trait_queryable_q' - $ref: '#/components/parameters/trait_fields' post: tags: - Orders (Tenant-managed) summary: Creating a new order description: | Creates an order by the tenant employee, on behalf of a customer. **Note:** The `entries.originalAmount` is DEPRECATED. Use the `entries.originalPrice` field instead. security: - OAuth2: - order.order_create operationId: POST-order-create-order-employee responses: '201': description: | The collection resource has been successfully created. content: application/json: examples: Resource Location example: $ref: '#/components/examples/resourceLocation' schema: $ref: '#/components/schemas/resourceLocation' '400': $ref: '#/components/responses/trait_billingAware_400' '403': $ref: '#/components/responses/trait_yaasAware_403' '409': $ref: '#/components/responses/trait_resourceLocation_409' '500': $ref: '#/components/responses/trait_500' requestBody: content: application/json: examples: Sales Order creation payload example: $ref: '#/components/examples/salesOrderCreation' schema: $ref: '#/components/schemas/salesOrderCreationDto' required: false head: tags: - Orders (Tenant-managed) summary: Retrieving the number of orders description: | Retrieves the number of orders for the specified query and siteCode. To be used by tenant employees. security: - OAuth2: - order.order_read - order.order_read_by_vendor - order.order_manage_by_vendor operationId: GET-order-retrieve-specific-orders responses: '200': description: The request was successful. Number of orders returned in header. headers: X-Total-Count: schema: type: number description: | Number of orders matching the specified query '400': $ref: '#/components/responses/trait_billingAware_400' '403': $ref: '#/components/responses/trait_restricted_403' '500': $ref: '#/components/responses/trait_500' parameters: - $ref: '#/components/parameters/trait_queryable_q' parameters: - $ref: '#/components/parameters/trait_tenant' '/order-v2/{tenant}/salesorders/search': post: tags: - Orders (Tenant-managed) summary: Searching for orders description: | Searches for tenant orders for administrative purposes. To be used by tenant employees. security: - OAuth2: - order.order_read - order.order_read_by_vendor - order.order_manage_by_vendor operationId: POST-order-tenant-orders-search requestBody: content: application/json: schema: $ref: '#/components/schemas/searchRequest' examples: search for products: value: q: "id:EON1007" responses: '200': description: | The request was successful. List of orders with details are returned. content: application/json: examples: Order list example: $ref: '#/components/examples/salesOrders' schema: $ref: '#/components/schemas/salesOrders' '400': $ref: '#/components/responses/trait_paged_400' '403': $ref: '#/components/responses/trait_restricted_403' '500': $ref: '#/components/responses/trait_500' parameters: - $ref: '#/components/parameters/trait_sortable_sort' - $ref: '#/components/parameters/trait_paged_pageNumber' - $ref: '#/components/parameters/trait_paged_pageSize' - $ref: '#/components/parameters/trait_fields' - $ref: '#/components/parameters/trait_tenant' '/order-v2/{tenant}/salesorders/{orderId}': get: tags: - Orders (Tenant-managed) summary: Retrieving a specific order by ID description: | Retrieves a specific order by order ID. To be used by tenant employees. security: - OAuth2: - order.order_read - order.order_read_by_vendor - order.order_manage_by_vendor operationId: GET-order-retrieve-order-employee responses: '200': description: | The request was successful. Given order details are returned. content: application/json: examples: Sales Order example 1: $ref: '#/components/examples/salesOrder2' Sales Order example 2: $ref: '#/components/examples/salesOrder1' schema: $ref: '#/components/schemas/salesOrder' '403': $ref: '#/components/responses/trait_restricted_403' '404': $ref: '#/components/responses/trait_order_404' '500': $ref: '#/components/responses/trait_500' put: tags: - Orders (Tenant-managed) summary: Updating an order description: | Updates an order with the specified order ID. To be used by tenant employees. security: - OAuth2: - order.order_update - order.order_update_completed - order.order_manage_by_vendor operationId: PUT-order-update-order responses: '204': description: Successful order update '400': $ref: '#/components/responses/trait_billingAware_400' '403': $ref: '#/components/responses/trait_restricted_403' '404': $ref: '#/components/responses/trait_order_404' '409': $ref: '#/components/responses/trait_order_409' '500': $ref: '#/components/responses/trait_500' requestBody: content: application/json: examples: Order update example payload: $ref: '#/components/examples/orderUpdate' schema: $ref: '#/components/schemas/orderUpdateDto' required: false parameters: - $ref: '#/components/parameters/trait_recalculate' patch: tags: - Orders (Tenant-managed) summary: Partially updating an order description: | Updates partially an order with the specified order ID. To be used by tenant employees. security: - OAuth2: - order.order_update - order.order_update_completed - order.order_manage_by_vendor operationId: PATCH-order-partial-update-order responses: '204': description: Successful order update '400': $ref: '#/components/responses/trait_billingAware_400' '403': $ref: '#/components/responses/trait_restricted_403' '404': $ref: '#/components/responses/trait_order_404' '409': $ref: '#/components/responses/trait_order_409' '500': $ref: '#/components/responses/trait_500' requestBody: content: application/json: examples: Order update example payload: $ref: '#/components/examples/orderUpdate' schema: $ref: '#/components/schemas/orderUpdateDto' required: false parameters: - $ref: '#/components/parameters/trait_recalculate' delete: tags: - Orders (Tenant-managed) summary: Deleting an order description: | Deletes order with the specified ID. To be used by tenant employees. security: - OAuth2: - order.order_delete operationId: DELETE-order-remove-order responses: '204': description: Successful deletion '400': $ref: '#/components/responses/trait_billingAware_400' '403': $ref: '#/components/responses/trait_restricted_403' '404': $ref: '#/components/responses/trait_order_404' '500': $ref: '#/components/responses/trait_500' parameters: - $ref: '#/components/parameters/trait_orderId' - $ref: '#/components/parameters/trait_tenant' '/order-v2/{tenant}/salesorders/{orderId}/transitions': get: tags: - Orders (Tenant-managed) summary: Retrieving status transitions for an order description: | Retrieves all possible status transitions for a specific order. To be used by tenant employees. security: - OAuth2: - order.order_read - order.order_update - order.order_read_by_vendor - order.order_manage_by_vendor - order.order_update_completed operationId: GET-order-retrieve-order-transitions responses: '200': description: The request was successful. Status transitions for specific order returned. content: application/json: examples: Transitions example: $ref: '#/components/examples/transitions' schema: $ref: '#/components/schemas/transitions' '400': $ref: '#/components/responses/trait_billingAware_400' '403': $ref: '#/components/responses/trait_restricted_403' '404': $ref: '#/components/responses/trait_order_404' '500': $ref: '#/components/responses/trait_500' post: tags: - Orders (Tenant-managed) summary: Updating order status description: | Updates the status of a specific order. To be used by tenant employees. security: - OAuth2: - order.order_update - order.order_manage_by_vendor - order.order_update_completed operationId: POST-order-update-order-transition-employee responses: '204': description: The request was successful. Order was successfully updated. '400': $ref: '#/components/responses/trait_billingAware_400' '403': $ref: '#/components/responses/trait_restricted_403' '404': $ref: '#/components/responses/trait_order_404' '500': $ref: '#/components/responses/trait_500' requestBody: content: application/json: examples: Transition example: $ref: '#/components/examples/transition' schema: $ref: '#/components/schemas/transition' required: false parameters: - $ref: '#/components/parameters/trait_orderId' - $ref: '#/components/parameters/trait_tenant' '/order-v2/{tenant}/salesorders/{orderId}/calculations': post: tags: - Orders (Tenant-managed) summary: Recalculating number of entries description: | Updates the number of entries in the specific order and recalculates it. To be used by tenant employees. security: - OAuth2: - order.order_update - order.order_update_completed operationId: POST-order-calculate-order-entries-employees responses: '200': description: Order recalculated successfully '400': description: Bad Request '403': $ref: '#/components/responses/trait_restricted_403' '404': $ref: '#/components/responses/trait_order_404' '500': $ref: '#/components/responses/trait_500' requestBody: content: application/json: examples: Order calculation: $ref: '#/components/examples/orderCalculation' schema: $ref: '#/components/schemas/orderCalculationDto' required: true parameters: - $ref: '#/components/parameters/trait_orderId' - $ref: '#/components/parameters/trait_tenant' '/order-v2/{tenant}/salesorders/{orderId}/entries': post: tags: - Orders (Tenant-managed) summary: Adding entries to an order description: | Updates the entries in the specific order and recalculates it. If provided entry is already assigned to the order then quantity of this entry is updated. If you want to remove entry from order then set quantity to 0. security: - OAuth2: - order.order_update - order.order_manage_by_vendor operationId: POST-order-update-order-entries responses: '200': description: | The request was successful. Recalculated order is returned. content: application/json: examples: Sales Order example 1: $ref: '#/components/examples/salesOrder2' Sales Order example 2: $ref: '#/components/examples/salesOrder1' schema: $ref: '#/components/schemas/salesOrder' '400': description: Bad Request '403': $ref: '#/components/responses/trait_restricted_403' '404': $ref: '#/components/responses/trait_order_404' '500': $ref: '#/components/responses/trait_500' requestBody: content: application/json: examples: Add new product to order : value: entries: - productId: '1010234' quantity: 1 Modify quantity: value: entries: - entryId: '1010234' quantity: 2 Remove entry: value: entries: - entryId: '1010234' quantity: 0 schema: $ref: '#/components/schemas/orderEntriesDto' required: true parameters: - $ref: '#/components/parameters/trait_orderId' - $ref: '#/components/parameters/trait_tenant' - name: store in: query description: | This endpoint adds entries to the order and recalculates it. The result is returned. This flag can control whether the result should be stored in the database or not. By setting this flag to `false`, your order won't be updated. schema: default: false type: boolean '/order-v2/{tenant}/salesorders/{orderId}/split': post: tags: - Orders (Tenant-managed) summary: Splitting order description: | Splits order into suborders based on the given criteria. It works for: - orders with `CREATED` status - orders where `orderType` = null, meaning that the order has not been split and there are not suborders of a master order. - orders without discounts, the ones with included discounts are not supported security: - OAuth2: - order.order_update operationId: POST-order-split responses: '200': description: | The order has been successfully split. content: application/json: examples: Oder split by vendor: value: masterOrder: "EON1227" splitBy: "VENDOR_ID" subOrders: - id: "EON1228" uniqueValue: "6879eecd1cc84b218acaaec7" - id: "EON1229" uniqueValue: "6879ecf11cc84b218acaaec6" schema: $ref: '#/components/schemas/orderSplitResponse' '400': description: Bad Request '403': $ref: '#/components/responses/trait_restricted_403' '404': $ref: '#/components/responses/trait_order_404' '500': $ref: '#/components/responses/trait_500' requestBody: content: application/json: examples: Split by vendor id: value: splitBy: "VENDOR_ID" schema: $ref: '#/components/schemas/orderSplitRequest' required: true parameters: - $ref: '#/components/parameters/trait_orderId' - $ref: '#/components/parameters/trait_tenant' '/order-v2/{tenant}/orders': get: tags: - Orders (Customer-managed) summary: Retrieving a list of orders description: | Retrieves a list of orders for a customer. To be used by customers on the storefront. **Authentication:** Standard is customer token. Alternatively, use access token (client credentials) with `saas-token` header. Scope `order.history_view` applies when using client credentials. security: - CustomerAccessToken: [] - OAuth2: - order.history_view responses: '200': description: | Some server side error occurred. content: application/json: examples: Orders example: $ref: '#/components/examples/orders' schema: $ref: '#/components/schemas/orders' '400': $ref: '#/components/responses/trait_paged_400' '403': $ref: '#/components/responses/trait_yaasAware_403' '500': $ref: '#/components/responses/trait_500' parameters: - $ref: '#/components/parameters/trait_saas_token' - $ref: '#/components/parameters/trait_sortable_sort' - $ref: '#/components/parameters/trait_paged_pageNumber' - $ref: '#/components/parameters/trait_paged_pageSize' - $ref: '#/components/parameters/trait_queryable_q' - $ref: '#/components/parameters/trait_fields' - $ref: '#/components/parameters/trait_tenant' '/order-v2/{tenant}/orders/{orderId}': get: tags: - Orders (Customer-managed) summary: Retrieving order details description: | Retrieves details of an order. To be used by customers on the storefront. **Authentication:** Standard is customer token. Alternatively, use access token (client credentials) with `saas-token` header. Scope `order.history_view` applies when using client credentials. security: - CustomerAccessToken: [] - OAuth2: - order.history_view operationId: GET-order-retrieve-order-storefront responses: '200': description: | The request was successful. Order details are returned. content: application/json: examples: Order example: $ref: '#/components/examples/order' schema: $ref: '#/components/schemas/order' '403': $ref: '#/components/responses/trait_yaasAware_403' '404': $ref: '#/components/responses/trait_order_404' '500': $ref: '#/components/responses/trait_500' parameters: - $ref: '#/components/parameters/trait_saas_token' parameters: - $ref: '#/components/parameters/trait_orderId' - $ref: '#/components/parameters/trait_tenant' '/order-v2/{tenant}/orders/{orderId}/transitions': get: tags: - Orders (Customer-managed) summary: Retrieving status transitions for a specific order description: | Retrieves possible status transitions for a specific order. To be used by customers on the storefront. **Authentication:** Standard is customer token. Alternatively, use access token (client credentials) with `saas-token` header. Scope `order.order_updateascustomer` applies when using client credentials. security: - CustomerAccessToken: [] - OAuth2: - order.order_updateascustomer operationId: GET-order-retrieve-transitions responses: '200': description: | The request was successful. Status transition for given order returned. content: application/json: examples: Transitions example: $ref: '#/components/examples/transitions' schema: $ref: '#/components/schemas/transitions' '403': $ref: '#/components/responses/trait_restricted_403' '404': $ref: '#/components/responses/trait_order_404' '500': $ref: '#/components/responses/trait_500' parameters: - $ref: '#/components/parameters/trait_saas_token' post: tags: - Orders (Customer-managed) summary: Updating order status description: | Updates the status of a specific order. To be used by customers on the storefront. **Note**: Customers can only change the order status from `CREATED` to `DECLINED`. **Authentication:** Standard is customer token. Alternatively, use access token (client credentials) with `saas-token` header. Scope `order.order_updateascustomer` applies when using client credentials. security: - CustomerAccessToken: [] - OAuth2: - order.order_updateascustomer operationId: POST-order-update-order-transition-storefront responses: '204': description: The transition was successful. '400': $ref: '#/components/responses/trait_billingAware_400' '403': $ref: '#/components/responses/trait_restricted_403' '404': $ref: '#/components/responses/trait_order_404' '500': $ref: '#/components/responses/trait_500' requestBody: content: application/json: examples: Transition example: $ref: '#/components/examples/transition' schema: $ref: '#/components/schemas/transition' required: false parameters: - $ref: '#/components/parameters/trait_saas_token' parameters: - $ref: '#/components/parameters/trait_orderId' - $ref: '#/components/parameters/trait_tenant' '/order-v2/{tenant}/legal-entity-orders/{legalEntityId}': parameters: - $ref: '#/components/parameters/trait_tenant' - $ref: '#/components/parameters/trait_legal_entity' get: summary: Retrieving legal entity orders tags: - Orders (Customer-managed) responses: '200': description: The request was successful. List of legal entity orders with details are returned. headers: X-Total-Count: description: The total number of objects that fulfil the criteria. schema: type: string content: application/json: schema: $ref: '#/components/schemas/salesOrders' '400': $ref: '#/components/responses/trait_paged_400' '403': $ref: '#/components/responses/trait_yaasAware_403' '500': $ref: '#/components/responses/trait_500' operationId: GET-order-retrieve-legal-entity-orders description: | Retrieves a list of orders related to a particular legal entity for a customer. To be used by B2B customers on the storefront. **Authentication:** Standard is customer token. Alternatively, use access token (client credentials) with `saas-token` header. Scope `order.order_read_le` applies when using client credentials. parameters: - $ref: '#/components/parameters/trait_sortable_sort' - $ref: '#/components/parameters/trait_paged_pageNumber' - $ref: '#/components/parameters/trait_paged_pageSize' - $ref: '#/components/parameters/trait_queryable_q' - $ref: '#/components/parameters/trait_fields' - $ref: '#/components/parameters/trait_saas_token' security: - CustomerAccessToken: [] - OAuth2: - order.order_read_le '/order-v2/{tenant}/legal-entity-orders/{legalEntityId}/{orderId}': parameters: - $ref: '#/components/parameters/trait_tenant' - $ref: '#/components/parameters/trait_legal_entity' - $ref: '#/components/parameters/trait_orderId' get: summary: Retrieving a legal entity order tags: - Orders (Customer-managed) responses: '200': description: The request was successful. The legal entity order with details is returned. headers: {} content: application/json: schema: $ref: '#/components/schemas/salesOrder' '400': $ref: '#/components/responses/trait_paged_400' '403': $ref: '#/components/responses/trait_yaasAware_403' '404': $ref: '#/components/responses/trait_order_404' '500': $ref: '#/components/responses/trait_500' operationId: GET-order-retrieve-legal-entity-order description: | Retrieves an order related to a particular legal entity for a customer. To be used by B2B customers on the storefront. **Authentication:** Standard is customer token. Alternatively, use access token (client credentials) with `saas-token` header. Scope `order.order_read_le` applies when using client credentials. parameters: - $ref: '#/components/parameters/trait_saas_token' security: - CustomerAccessToken: [] - OAuth2: - order.order_read_le components: schemas: restriction: type: string nullable: true description: | Access control identifier that determines who can view or manage the order. **Purpose**: Restricts order visibility based on scope permissions. Only users/applications with matching restriction scopes can access orders with a specific restriction value. **Access Control**: - *Reading*: Users can only query and view orders with the `restriction` value that matches one of their authorized restrictions. **Validation**: The value must exist in the tenant's configured list of valid restrictions. **Site Synchronization**: If the `restriction` property is not set with tenant configuration property `enableSyncBetweenRestrictionsAndSiteCodes` set to `true`, the `restriction` field automatically syncs with `siteCode` property. example: "DE" localizedValue: description: Localized value which can have different structure which depends on provided `Content-Language` header. oneOf: - type: string - type: object additionalProperties: type: string example: en: Product pl: Produkt aggregateFee: type: object title: Aggregate Fee properties: total: type: object properties: subTotal: type: number totalTax: type: number total: type: number elements: type: array items: type: object properties: name: allOf: - $ref: '#/components/schemas/localizedValue' - type: object description: Fee name. yrn: type: string description: Unique identifier of the fee. taxCode: type: string description: Tax code of the fee. total: type: object properties: subTotal: type: number totalTax: type: number total: type: number taxValues: type: array items: type: object properties: name: type: string description: Name of the tax. value: type: number description: Value of the tax. rate: type: number description: Rate of the tax. required: - total orderEntriesDto: properties: entries: title: Entries of the order type: array items: properties: entryId: type: string description: Order entry id. Required if `productId` is not provided. Use for entry modification. Cannot be provided along with `productId`. productId: type: string description: Id of the product added to the order. Required if `entryId` is not provided. Cannot be provided along with `entryId`. quantity: type: number description: Quantity of the products added to the order. When set to `0` then such entries are removed from the order. required: - quantity required: - entries orderCalculationDto: properties: entries: title: Order Calculation DTO description: 'Order recalculation DTO contains a list of entries, where each entry contains entry ID and delivered amount of items.' type: array items: $ref: '#/components/schemas/orderCalculationEntryDto' orderCalculationEntryDto: title: Order Calculation Entry DTO description: Order Calculation DTO contains information to recalculate a single entry. Required information is ID of entry and (new) delivered amount of items. properties: entryId: description: Unique identifier of an entry. type: string deliveredAmount: description: Delivered amount is the new amount of items for recalculation. type: integer minimum: 0 deliveredAmountInPc: description: Delivered amount in pieces type: integer minimum: 0 unit: description: The measurement unit used to present the price. type: string required: - entryId - deliveredAmount orders: title: Orders description: Collection of orders created by customers type: array items: $ref: '#/components/schemas/order' channel: title: Channel type: object properties: name: type: string source: type: string orderEntry: title: Order entry description: The ordered item. type: object properties: id: description: The ordered item ID. type: string itemYrn: $ref: '#/components/schemas/YRN' fees: allOf: - $ref: '#/components/schemas/aggregateFee' - type: object description: '**This field is deprecated**. Please use `calculatedPrice.fees` instead. The `calculatedPrice.fees` field provides the same value with updated functionality.' deprecated: true amount: description: The amount of items. type: integer orderedAmount: description: The ordered amount of items. type: integer packedAmountInPc: description: The packed amount of items. type: integer effectiveQuantity: description: Effective quantity is q calculated average quantity customer is paying for. type: number format: double originalAmount: description: The original amount. This field is deprecated**. Please use `calculatedUnitPrice` instead. The `calculatedUnitPrice` field provides the same value with updated functionality. type: number deprecated: true originalPrice: description: The original price. This field is deprecated**. Please use `calculatedUnitPrice` instead. The `calculatedUnitPrice` field provides the same value with updated functionality. type: number deprecated: true unitPrice: type: number deprecated: true description: '**This field is deprecated**. Please use `calculatedUnitPrice` instead. The `calculatedUnitPrice` field provides the same value with updated functionality.' calculatedUnitPrice: allOf: - $ref: '#/components/schemas/calculatedPrice' - type: object description: 'Product''s unit price with tax values, can be skipped if deprecated `unitPrice` is provided for backward compatibility.' measurementUnit: $ref: '#/components/schemas/measurementUnit' link: description: Link to product. type: string discounts: deprecated: true description: The discount list. **This field is deprecated**. Please use `calculatedPrice.totalDiscount` instead. The `calculatedPrice.totalDiscount` field provides the same value with updated functionality. totalPrice: type: number deprecated: true description: The total price of items. **This field is deprecated**. Please use `calculatedPrice.finalPrice` instead. The `calculatedPrice.finalPrice` field provides the same value with updated functionality. authorizedAmount: description: The authorized amount. **This field is deprecated**. Please use `calculatedPrice.upliftValue` instead. The `calculatedPrice.upliftValue` field how much payment authorization should be increased for given item. deprecated: true type: number product: $ref: '#/components/schemas/product' tax: allOf: - $ref: '#/components/schemas/tax' - type: object description: '**This field is deprecated**. Please use `calculatedPrice.price` instead. The `calculatedPrice.price` field provides the same value with updated functionality.' deprecated: true price: $ref: '#/components/schemas/price' metadata: $ref: '#/components/schemas/mixinsMetadata' mixins: type: object calculatedPrice: allOf: - $ref: '#/components/schemas/orderEntryCalculatedPrice' - type: object description: Detailed price calculation for a single line item with all pricing components. Can be skipped if deprecated `totalPrice` is provided for backward compatibility. priceMatchDetails: $ref: '#/components/schemas/priceMatchDetails' externalDiscounts: type: array description: External discounts applied to this order entry. items: $ref: '#/components/schemas/externalDiscount' externalFees: type: array description: External fees applied to this order entry. items: $ref: '#/components/schemas/externalFee' required: - amount - calculatedUnitPrice - calculatedPrice deliveryWindow: title: Delivery Window type: object properties: id: type: string description: Id of the delivery window deliveryDate: type: string format: date description: Delivery date. slotId: type: string description: ID of the delivery slot deliveryTimeRange: $ref: '#/components/schemas/deliveryTimeRange' deliveryCycle: type: string description: Delivery cycle to which the order is assigned (containing date) deliveryCycleName: type: string description: Delivery cycle name to which the order is assigned deliveryTimeRange: title: Delivery Time Range type: object properties: timeFrom: type: string format: time description: Start Time timeTo: type: string format: time description: End Time discount: title: Discount properties: code: description: Discount's code. type: string amount: description: Amount of discount. type: number currency: description: 'Three-letter currency code, compliant with the ISO 4217 standard.' type: string name: description: Discount's name. type: string discountRate: description: Discount's rate. type: number calculationType: description: Discount's code.calculation type. type: string discountCalculationType: description: Determines whether the coupon is applied to the total or subtotal value of the order. type: string enum: - SUBTOTAL - TOTAL discountType: description: Discount's type. type: string sequenceId: description: Discount's unique sequence ID identifier. type: integer link: allOf: - $ref: '#/components/schemas/reference' - type: object description: Link to discount. categoryRestricted: description: This flag indicates if discount is category restricted. type: boolean restrictions: allOf: - $ref: '#/components/schemas/discountRestrictions' - type: object description: The restrictions based on which the discount can be applied. required: - code - currency discountRestrictions: title: Discount Restrictions properties: validFrom: description: The date from which the discount restriction is valid. type: string validUntil: description: The date from which the discount restriction is valid. type: string minOrderValue: allOf: - $ref: '#/components/schemas/discountRestrictionsPrice' - type: object description: The minimum order price for which the discount is valid. includedCategories: description: List of included categories. type: array items: type: string excludedCategories: description: List of excluded categories. type: array items: type: string discountRestrictionsPrice: title: Discount Restrictions Price properties: amount: description: The amount of discount price type: number currency: description: The currency of the price type: string reference: title: Link properties: id: description: Unique identifier of a link. type: string type: description: Link type. type: string url: description: URL of the link. type: string required: - id - type - url customer: title: Customer description: | Customer data. One of these properties needs to be provided: - `name` for business customers (B2B) - `firstName` and `lastName` for individual customers (B2C) properties: id: description: Customer's unique identifier. type: string default: ANONYMOUS name: description: Customer's name. type: string title: description: Customer's title. type: string firstName: description: Customer's first name. type: string middleName: description: Customer's middle name. type: string lastName: description: Customer's last name. type: string company: description: Company name. type: string email: description: Customer's email address. type: string metadata: allOf: - $ref: '#/components/schemas/mixinsMetadata' - type: object description: Metadata. mixins: description: Customer additional information. type: object additionalProperties: true required: - email address: title: Address description: Customer's address. type: object properties: contactName: description: Customer's name. type: string companyName: description: Company name. type: string street: description: Street name. type: string streetNumber: description: Street number. type: string streetAppendix: description: Street appendix. type: string extraLine1: description: Additional address information. type: string extraLine2: description: Additional address information. type: string extraLine3: description: Additional address information. type: string extraLine4: description: Additional address information. type: string zipCode: description: Customer's address - zip code. type: string city: description: City name. type: string state: description: State name. type: string country: description: Country name. type: string contactPhone: description: Customer's contact phone. type: string metadata: allOf: - $ref: '#/components/schemas/mixinsMetadata' - type: object description: Metadata. mixins: description: Additional address information. type: object additionalProperties: true required: - contactName - street - city - zipCode - country payment: title: Payment description: Payment details. type: object properties: method: description: Payment method. type: string status: description: Payment status. allOf: - $ref: '#/components/schemas/paymentStatus' paymentResponse: description: Payment response. type: string paidAmount: description: Paid amount. type: number refundAmount: description: Refund amount. type: number currency: description: 'Three-letter currency code, compliant with the ISO 4217 standard.' type: string transactionId: description: The ID of the payment transaction. type: string redirectUrl: description: Redirect url. type: string authorizedAmount: description: Authorized amount. type: number provider: description: Payment provider. type: string required: - method - paidAmount - currency shipping: description: Shipping details. title: Shipping type: object properties: total: description: Total shipping amount. type: object properties: amount: type: number description: Shipping amount. default: 0 currency: type: string description: Currency of the shipping amount. default: USD lines: description: Shipping line list. type: array items: $ref: '#/components/schemas/shippingLine' required: - total shippingLine: title: Shipping line description: Shipping line. type: object properties: amount: type: number description: Shipping line amount. default: 0 currency: description: 'Three-letter currency code, compliant with the ISO 4217 standard.' type: string default: USD code: description: Shipping line code. type: string name: description: Shipping line name. type: string localizedName: description: Shipping line name in a form of a map of translations. type: object additionalProperties: type: string discounts: description: Shipping line discount. type: array items: $ref: '#/components/schemas/discount' tax: $ref: '#/components/schemas/shippingTax' link: $ref: '#/components/schemas/reference' shippingTaxCode: type: string required: - code shipment: title: Shipment description: Shippment details. type: object properties: shippedDate: description: Shipped date. type: string carrier: description: Carrier. type: string trackingNumber: description: Tracking number. type: string expectDeliveryOn: description: Expected delivery date. type: string required: - shippedDate - carrier tax: title: Tax description: Tax details. type: object properties: lines: type: array items: $ref: '#/components/schemas/taxLine' total: $ref: '#/components/schemas/taxTotal' required: - total shippingTax: title: Tax description: Tax details. type: object properties: lines: type: array items: $ref: '#/components/schemas/taxLine' total: $ref: '#/components/schemas/taxTotal' rate: description: The rate of the shipping tax type: number required: - total taxLine: title: taxLine description: Tax line details. type: object properties: amount: description: Tax line amount. default: 0 type: number currency: description: 'Three-letter currency code, compliant with the ISO 4217 standard.' type: string default: USD code: description: Tax code. type: string name: description: Tax name. type: string rate: description: Tax rate. type: number default: 0 taxable: description: Order's taxable amount. type: number sequenceId: description: Sequence ID. type: integer default: 0 inclusive: description: Inclusive flag. type: boolean default: false required: - amount - currency - sequenceId - inclusive taxTotal: title: Tax total description: The tax total tax amount. type: object properties: amount: description: Total tax amount. default: 0 type: number currency: description: 'Three-letter currency code, compliant with the ISO 4217 standard.' type: string default: USD inclusive: description: Total tax inclusive flag. default: false type: boolean required: - amount - currency - inclusive product: title: Product description: Product details. type: object properties: id: description: Unique identifier of a product. type: string sku: description: Product sku. type: string code: description: Unique code of a product. type: string name: description: Unique name of a product. type: string localizedName: description: 'A product''s name represented as a map, with language as the key and the corresponding translated name as the value' type: object additionalProperties: type: string description: description: Product description. type: string published: description: Product published flag. type: boolean productType: description: 'Type of the product (BASIC, VARIANT, BUNDLE).' type: string enum: - BASIC - VARIANT - BUNDLE bundledProducts: description: The collection of products assigned to the bundle. type: array items: $ref: '#/components/schemas/bundleProduct' images: description: Product images. type: array items: $ref: '#/components/schemas/media' vendor: $ref: '#/components/schemas/vendor' mixins: description: Product additional information. type: object additionalProperties: true metadata: allOf: - $ref: '#/components/schemas/mixinsMetadata' - type: object description: The metadata of the product. bundleProduct: title: Bundle Product description: Represents the product used in a bundle. type: object properties: amount: description: The number of given products assigned to the bundle. type: number productId: description: Id of the product assigned to the bundle. type: string price: title: Price description: Price details. type: object properties: priceId: description: Id of the price related to order entry. type: string priceListId: type: string description: Identifier of price list. The field should be populated only in case when the returned prices belongs to any price list. effectiveAmount: description: Effective amount is a calculated average item price after a discount. type: number originalAmount: description: Oryginal amount is a price set by the merchant. type: number currency: description: Currency of the entry price. type: string salePrice: allOf: - $ref: '#/components/schemas/salePrice' - type: object description: Attributes of the sale price. media: title: Media description: The media. type: object properties: id: description: Unique identifier of a media file. type: string url: description: Media URL. type: string stored: description: Media stored flag. type: boolean default: false salePrice: title: Sale Price description: The sale price. type: object properties: discountAmount: description: Amount of the discount for sale price promotion. type: number discountRate: description: Rate of the discount for sale price promotion. type: number description: description: The sale price description. type: string metadata: title: Metadata description: Metadata type: object properties: createdAt: description: The creation date. type: string modifiedAt: description: The modification date. type: string version: description: The document version number. type: integer mixinsMetadata: title: Product Metadata description: Product Metadata type: object additionalProperties: true properties: mixins: description: 'A key-value map of mixins, where the mixin name is a key and schema url is a value' type: object additionalProperties: true version: description: The document version number. type: integer measurementUnit: title: Measurement Unit description: The entry measurement unit type: object properties: unit: description: 'Code of the unit, like `kg` or `l`.' type: string value: description: Quantity of given unit. type: number required: - value resourceLocation: title: Resource location description: Resource location is a response object which contains ID and link to created resource. type: object properties: id: description: Unique identifier of the created resource. type: string yrn: $ref: '#/components/schemas/YRN' salesOrders: title: Sales Orders description: The collection of orders created by employees. type: array items: $ref: '#/components/schemas/salesOrder' vendor: type: object properties: id: type: string description: An identifier of a vendor name: type: string description: vendor name required: - id orderCommonDto: title: Order Common DTO description: 'The base order fields. This object is inherited by all of other order objects as Order Creation DTO, Order Update DTO etc.' type: object properties: restriction: $ref: '#/components/schemas/restriction' feeYrnAggregate: allOf: - $ref: '#/components/schemas/aggregateFee' - type: object description: "**This field is deprecated**. Please use `calculatedPrice.totalFees` and `entries[].calculatedPrice.fees` instead. These fields provide the same values with updated functionality." deprecated: true status: $ref: '#/components/schemas/orderStatus' cartId: type: string description: The identifier of a cart that was used to create this order. vendor: $ref: '#/components/schemas/vendor' orderType: $ref: '#/components/schemas/splitOrderType' masterOrder: type: string description: The identifier of a master order. Available on suborders that have been created after splitting the master order. splitInfo: $ref: '#/components/schemas/splitInfo' subOrders: type: array description: A list of string IDs for suborders created after a split. Available only on the master order from which the split originated. entries: description: Ordered item list. type: array minItems: 1 items: $ref: '#/components/schemas/orderEntry' discounts: description: Discount list. type: array items: $ref: '#/components/schemas/discount' customer: $ref: '#/components/schemas/customer' siteCode: description: Site's unique identifier. A site is a specific shop. type: string countryCode: description: 'Two-letter country code, compliant with the ISO 3166 standard.' type: string billingAddress: $ref: '#/components/schemas/address' shippingAddress: $ref: '#/components/schemas/address' payments: description: Payment list. type: array items: $ref: '#/components/schemas/payment' shipping: allOf: - $ref: '#/components/schemas/shipping' - type: object description: "**This field is deprecated**. Please use `calculatedPrice.totalShipping` instead. The `unitPrice` field provides the same value with updated functionality." deprecated: true tax: allOf: - $ref: '#/components/schemas/tax' - type: object description: "**This field is deprecated**. Please use `calculatedPrice.finalPrice.taxAggregate` instead. The `calculatedPrice.finalPrice.taxAggregate` field provides the same value with updated functionality." deprecated: true subTotalPrice: type: number deprecated: true description: "Order sub total price. **This field is deprecated**. Please use `calculatedPrice.price` or `calculatedPrice.discountedPrice` instead. These fields provide the same value with updated functionality." totalPrice: type: number deprecated: true description: "Order total price. **This field is deprecated**. Please use `calculatedPrice.finalPrice` instead. The `calculatedPrice.finalPrice` field provides the same value with updated functionality." totalAuthorizedAmount: type: number description: "The amount that should be authorized with payment provider. It's a sum of `calculatedPrice.finalPrice.grossValue` and `calculatedPrice.upliftValue.grossValue`." currency: description: 'Three-letter currency code, compliant with the ISO 4217 standard.' type: string orderCycle: description: |- Order cycle date. ***NOTE*** This attribute is DEPRECATED, please use the `deliveryWindow.deliveryCycle` attribute deprecated: true type: string deliveryWindowId: description: |- Delivery window's unique identifier. ***NOTE*** This attribute is DEPRECATED, please use the `deliveryWindow.id` attribute type: string deprecated: true deliveryWindow: $ref: '#/components/schemas/deliveryWindow' metadata: $ref: '#/components/schemas/metadataMixins' mixins: type: object calculatedPrice: allOf: - $ref: '#/components/schemas/orderCalculatedPrice' - type: object description: 'A breakdown of the total price calculated from all line items, including detailed pricing components. Can be skipped if deprecated`totalPrice` is provided to preserve backward compatibility' legalEntityId: type: string description: The identifier of the legal entity on whose behalf the order was placed. required: - entries - customer - calculatedPrice order: title: Order allOf: - type: object description: 'The order visible for a customer, which includes all ordered items, customer addresses, information about ordered products etc.' properties: id: description: Order's unique identifier. type: string status: $ref: '#/components/schemas/orderStatus' created: description: Order's creation date. type: string format: date-time completed: description: Order's completion date. type: string format: date-time lastStatusChange: description: Order last status change date. type: string format: date-time shipments: description: Shipment list. type: array items: $ref: '#/components/schemas/shipment' - $ref: '#/components/schemas/orderCommonDto' salesOrder: allOf: - type: object properties: id: description: Order's unique identifier. type: string quoteId: description: Identifier of the quote from which the order has been created type: string createdBy: description: Order's creator name. type: string assistedBuying: $ref: '#/components/schemas/assistedBuying' - $ref: '#/components/schemas/orderUpdateDto' salesOrderCreationDto: title: Order Creation DTO allOf: - type: object description: The order creation DTO. properties: quoteId: description: Identifier of the quote from which the order has been created type: string - $ref: '#/components/schemas/orderCreationDto' searchRequest: type: object properties: q: type: string description: | A standard query parameter is used to search for specific values. See: [Standard practises - Query parameter](https://developer.emporix.io/api-references/standard-practices/q-param) orderCreationDto: title: Order Creation DTO allOf: - type: object description: The order creation DTO. properties: channel: $ref: '#/components/schemas/channel' - $ref: '#/components/schemas/orderCommonDto' orderUpdateDto: title: Order Update DTO type: object allOf: - type: object properties: channel: $ref: '#/components/schemas/channel' created: description: Order's creation date. type: string completed: description: Order's completion date. type: string lastStatusChange: description: Order last status change date. type: string shipments: description: Shipment list. type: array items: $ref: '#/components/schemas/shipment' - $ref: '#/components/schemas/orderCommonDto' orderStatus: type: string enum: - IN_CHECKOUT - CREATED - CONFIRMED - DECLINED - SHIPPED - COMPLETED description: 'Status of the order. Supported order statuses are `IN_CHECKOUT`, `CREATED`, `CONFIRMED`, `DECLINED`, `SHIPPED`, `COMPLETED`''. Customers can only change the order status from `CREATED` to `DECLINED`.' splitOrderType: type: string enum: - MASTER_ORDER - SUB_ORDER description: 'Available on orders that have been split. For standard orders, the value is `null`. For the original order that was split, the value is `MASTER_ORDER`s, and for the created suborders, the value is `SUB_ORDER`.' splitBy: type: string enum: - VENDOR_ID description: 'Specifies the criteria used to split a master order into suborders. Currently, only `VENDOR_ID` is supported.' splitInfo: type: object properties: splitBy: $ref: '#/components/schemas/splitBy' uniqueValue: type: string description: 'A unique value used to split the entries of a master order into separate suborders. Available only on suborders that had uniqueValue for the split. Not available on master order.' description: Information about how the order was split from the master order. splitItemResponse: type: object properties: id: type: string description: An ID of a suborder. uniqueValue: type: string description: 'A unique value used to split the entries of a master order into separate suborders.' description: Information about how the order was split from the master order. orderSplitRequest: type: object properties: splitBy: $ref: '#/components/schemas/splitBy' orderSplitResponse: type: object properties: masterOrder: type: string description: ID of the order that was split. The same as in the path. splitBy: $ref: '#/components/schemas/splitBy' subOrders: type: array items: $ref: '#/components/schemas/splitItemResponse' paymentStatus: type: string enum: - PENDING - AUTHORIZATION_SUCCESS - AUTHORIZATION_FAILURE - CAPTURE_SUCCESS - CAPTURE_FAILURE - SUCCESS - FAILURE - CANCELLATION_SUCCESS - CANCELLATION_FAILURE - REFUND_SUCCESS - REFUND_FAILURE default: PENDING description: Status of the payment. transitions: title: Transitions description: Order status transition list. type: array items: $ref: '#/components/schemas/transition' transition: title: Transition description: Order status transition. type: object properties: status: $ref: '#/components/schemas/orderStatus' metadataMixins: title: Metadata DTO type: object additionalProperties: true properties: mixins: type: object additionalProperties: true version: type: integer YRN: type: string title: YRN description: |- In YaaS, a global resource identifier is a Uniform Resource Name (URN) with a custom YaaS schema and is called a YaaS Resource Name, or YRN. It is a unique identifier, which stores information about a resource, such as its type, ID or name of the tenant. minLength: 1 assistedBuyingEntry: title: AssistedBuyingEntry type: object properties: employeeId: type: string description: Identifier of an employee who performed an action on behalf of a customer. operation: type: string description: '''Indicates an operation type done by an employee on behalf of a customer. Available options: `CREATE` and `UPDATE_STATUS`''' enum: - CREATE - UPDATE_STATUS timestamp: type: string description: Indicates a timestamp when an operation was performed. assistedBuying: title: assistedBuying type: object properties: entries: type: array description: List of operations done by an employee on behalf of a customer. items: $ref: '#/components/schemas/assistedBuyingEntry' description: The field is populated only if an assisted buying operation was performed. The field is read-only. There is no possibility to update it by PUT/PATCH operation. orderCalculatedPrice: type: object description: 'A breakdown of the total price calculated from all line items, including detailed pricing components.' properties: price: allOf: - $ref: '#/components/schemas/calculatedPrice' - type: object description: The sum of all line item price values, it means unit prices multiplied by quantity - `entries[].calculatedPrice.price`. properties: netValue: type: number format: double description: Net value of the price, price without tax. grossValue: type: number format: double description: Gross value of the price, price with tax. taxValue: type: number format: double description: Tax value of the price, it's the actual amount of tax that has to be paid. taxCode: type: string description: Tax code applied to the price, a tax code is a country's set of tax rules. If all fees have the same taxRate, then the value is present. Otherwise, the field is not returned. taxRate: type: number format: double description: Tax rate applied to the price, it's the percentage at which an individual or business is taxed. If all fees have the same taxRate, then the value is present. Otherwise, the field is not returned. upliftValue: allOf: - $ref: '#/components/schemas/calculatedPrice' - type: object description: The sum of all line item uplift values. Uplift value is the maximum additional amount to be authorized for payment to cover potential price adjustments during packaging of weight-based products. For example, if the item’s `price.netValue=12`, the `upliftValue.netValue=1,2`, with 10% uplift configured. If the uplift value is not configured for any item, it's not returned in the response. properties: netValue: type: number format: double description: Net value of the uplift amount, value without tax. grossValue: type: number format: double description: Gross value of the uplift amount, value with tax. taxValue: type: number format: double description: Tax value of the uplift amount, it's the actual amount of tax that has to be paid. taxCode: type: string description: Tax code applied to the uplift amount, a tax code is a country's set of tax rules. If all fees have the same taxRate, then the value is present. Otherwise, the field is not returned. taxRate: type: number format: double description: Tax rate applied to the uplift amount, it's the percentage at which an individual or business is taxed. If all fees have the same taxRate, then the value is present. Otherwise, the field is not returned. discountedPrice: allOf: - $ref: '#/components/schemas/calculatedPriceWithDiscounts' - type: object description: The sum of all line item prices after discounts are calculated. It's included in the response if at least one line item has a discounted price. It's the total amount of discounted prices for items with applied discounts and the original prices for items without discounts. It reflects the total cost of all line items after discounts. properties: netValue: type: number format: double description: The net value after applying discounts. grossValue: type: number format: double description: The gross value after applying discounts. taxValue: type: number format: double description: The difference between `grossValue` and `netValue`. taxCode: type: string description: Tax code applied to the discounted price, a tax code is a country's set of tax rules. If all fees have the same taxRate, then the value is present. Otherwise, the field is not returned. taxRate: type: number format: double description: Tax rate applied to the discounted price, it's the percentage at which an individual or business is taxed. If all fees have the same taxRate, then the value is present. Otherwise, the field is not returned. paymentFees: type: array description: The list of payment fees applied to an order. Payment fees are not changed and are not discounted, even when a discount or coupon is applied to the total. items: allOf: - $ref: '#/components/schemas/calculatedPaymentFee' - type: object properties: id: type: string description: Payment fee identifier. type: type: string enum: - PERCENT - ABSOLUTE - ABSOLUTE_MULTIPLY_ITEMQUANTITY description: Type of the payment fee. PERCENT for the fee’s `feePercentage`` multiplied by sum of line items `finalPrice` plus shipping cost. ABSOLUTE - monetary amount that is assigned to the payment method. price: description: Calculated price of the fee. properties: netValue: type: number format: double description: The monetary amount of the fee, depending on the fee type. ABSOLUTE for the value of defined fee’s `feeAbsolute.amount` attribute. The amount is treated as `netValue`. PERCENT, when defined on fee level percentage, `feePercentage` attribute, of sum of all item line’s `finalPrice.netValue` plus cart’s `calculatedPrice.totalShipping.netValue`. If the fee is taxable and has a tax code, the gross value is calculated. Otherwise, `grossValue` is equal to `netValue`. grossValue: type: number format: double description: For a fee where `taxable=true` and a valid `taxCode` is provided, the tax rate associated with that tax code is used to calculate `grossValue`. If the fee is not taxable, `netValue` is equal to `grossValue`. taxValue: type: number format: double description: Tax value of the payment fee, it's the actual amount of tax that has to be paid. taxRate: type: number format: double description: If a fee is defined with the attribute `taxable=true`, the tax rate is calculated based on the `taxCode` provided at the fee level. A taxable fee must have a defined `taxCode`. taxCode: type: string description: The tax code defined at the fee level, for example STANDARD. The value must correspond to the available tax codes in the system configuration. fees: allOf: - $ref: '#/components/schemas/calculatedPrice' - type: object description: The sum of all fees applied on the line items plus the payment fee *before discounts*. totalFee: allOf: - $ref: '#/components/schemas/calculatedPriceWithDiscounts' - type: object description: The sum of all fees applied on the line items plus the payment fee. It's calculated by summing `entries[].calculatedPrice.totalFee` with `paymentFee`. **The `totalFee` is the value *after all the discounts*, if any discounts were applied.** properties: netValue: type: number format: double description: Net value of the total fee, value without tax. grossValue: type: number format: double description: Gross value of the total fee, value with tax. taxValue: type: number format: double description: Tax value of the total fee, it's the actual amount of tax that has to be paid. taxRate: type: number format: double description: If all fees have the same `taxCode` defined, resulting in the same `taxRate`, the value is present. Otherwise, the field is not returned in the response. taxCode: type: string description: If all fees have the same `taxCode` defined, the value is present. Otherwise, the field is not returned in the response. appliedDiscounts: type: array description: A list of discounts applied to on the line item fees. The payment fee itself is not discountable. items: allOf: - $ref: '#/components/schemas/calculatedAppliedDiscount' - type: object properties: id: type: string description: Discount identifier. value: type: number format: double description: The sum of all `lines[].calculatedPrice.totalFee[].appliedDiscounts[].value` grouped by `discount.id`. discountType: type: string enum: - PERCENT - ABSOLUTE - FREE_SHIPPING description: PERCENT for percentage discounts and ABSOLUTE for amount applied to the fee. totalDiscount: allOf: - $ref: '#/components/schemas/calculatedTotalDiscount' - type: object description: A summary of all discounts applied to the line, including discounts on both the line item's price and its fees. If there are no discounts applied on to the line item, it's not returned in the response. properties: calculationType: type: string enum: - ApplyDiscountBeforeTax - ApplyDiscountAfterTax description: Indicates whether discounts were applied to net or gross values. value: type: number format: double description: Aggregated sum of `lines[].calculatedPrice.totalDiscount.value` plus the sum of shipping discounts `totalShipping.appliedDiscounts[].value`. appliedDiscounts: type: array description: A list of the applied discounts. items: allOf: - $ref: '#/components/schemas/calculatedAppliedDiscount' - type: object properties: id: type: string description: Discount identifier. value: type: number format: double description: The sum of all `lines[].calculatedPrice.totalDiscount.value` plus `totalShipping.appliedDiscounts[].value` grouped by the discount ID. discountType: type: string enum: - PERCENT - ABSOLUTE - FREE_SHIPPING description: PERCENT for percentage discounts, ABSOLUTE for monetary amount and FREE_SHIPPING is shipping is fully discounted. shipping: allOf: - $ref: '#/components/schemas/calculatedPrice' - type: object description: The total shipping cost is calculated by summing `items[].calculatedPrice.price.grossValue` for shipping estimation. `GrossValue` is used because, even for zero-tax items, it remains equal to `netValue`. The `shipping` is the value *before discounts*, use totalShipping to get the value after discounts. totalShipping: allOf: - $ref: '#/components/schemas/calculatedPriceWithDiscounts' - type: object description: The total shipping cost is calculated by summing `entries[].calculatedPrice.price.grossValue` for shipping estimation. `GrossValue` is used because, even for zero-tax items, it remains equal to `netValue`. **The `totalShipping` is the value *after all the discounts(, if any discounts were applied.** properties: netValue: type: number format: double description: The net value after applying discounts. grossValue: type: number format: double description: The gross value after applying discounts. taxValue: type: number format: double description: The difference between `grossValue` and `netValue`. taxCode: type: string description: Tax code applied to the shipping cost, a tax code is a country's set of tax rules. taxRate: type: number format: double description: Tax rate applied to the shipping cost, it's the percentage at which an individual or business is taxed. appliedDiscounts: type: array description: A list of discounts applied to shipping. items: allOf: - $ref: '#/components/schemas/calculatedAppliedDiscount' - type: object properties: id: type: string description: Discount identifier. value: type: number format: double description: Value of the discount that was applied. discountType: type: string enum: - PERCENT - ABSOLUTE - FREE_SHIPPING description: PERCENT for percentage discounts and ABSOLUTE for amount applied to the line item. finalPrice: allOf: - $ref: '#/components/schemas/calculatedPriceWithTaxAggregate' - type: object description: The final price is the sum of `entries[].finalPrice`, `totalShipping`, and `paymentFee`, without the uplift value. properties: netValue: type: number format: double description: The sum of line items, `discountedPrice.netValue` or `price.netValue`, and `totalFee.netValue`. grossValue: type: number format: double description: The sum of line items, `discountedPrice.grossValue` or `price.grossValue`, and `totalFee.grossValue`. taxValue: type: number format: double description: The result of subtracting `netValue` and `grossValue`, which is equal to the sum of all `taxValues` from the prices. taxRate: type: number format: double description: If the tax code of the line item matches the tax code of all applied fees, the tax rate is populated with the value. Otherwise, it's not returned in the response. taxCode: type: string description: The common tax code of the line item and all applicable fees. If at least one fee does not have a defined tax code, the common tax code cannot be determined, and the field is empty. taxAggregate: properties: lines: allOf: - $ref: '#/components/schemas/calculatedPrice' - type: object description: A list of tax values grouped by `taxCode` and `taxRate`. It includes the sum of `item[].calculatedPrice.discountedPrice` or `item[].calculatedPrice.price`, `item[].calculatedPrice.fees[].discountedPrice` or `item[].calculatedPrice.fees[].price`, `calculatedPrice.totalShipping` and `calculatedPrice.paymentFees`. If any of these values have the same `taxRate` but different `taxCode`, they are listed separately. The aggregation also includes items that do not have a `taxRate` or `taxCode` defined. properties: netValue: type: number format: double description: Net value of the tax, value without tax. grossValue: type: number format: double description: Gross value of the tax, value with tax. taxValue: type: number format: double description: Tax value of the tax, it's the actual amount of tax that has to be paid. taxCode: type: string description: Tax code applied to the tax, a tax code is a country's set of tax rules. taxRate: type: number format: double description: Tax rate applied to the tax, it's the percentage at which an individual or business is taxed. calculatedPrice: type: object properties: netValue: type: number format: double description: Net value of the price. grossValue: type: number format: double description: Gross value of the price. taxValue: type: number format: double description: Tax value of the price. taxCode: type: string description: Tax code applied to the price. taxRate: type: number format: double description: Tax rate applied to the price. description: A price calculation model containing net and gross amounts along with their associated tax details. required: - netValue - grossValue - taxValue calculatedPriceWithTaxAggregate: allOf: - $ref: '#/components/schemas/calculatedPrice' - type: object description: A price calculation model that includes tax aggregate information. properties: taxAggregate: $ref: '#/components/schemas/calculatedTaxAggregate' calculatedTaxAggregate: type: object properties: lines: type: array items: $ref: '#/components/schemas/calculatedPrice' description: List of tax calculations grouped by taxCode and taxRate description: Aggregated tax information showing detailed tax calculations calculatedFee: type: object properties: id: type: string description: Unique identifier of the fee. type: type: string enum: - PERCENT - ABSOLUTE - ABSOLUTE_MULTIPLY_ITEMQUANTITY description: Type of the fee. name: type: object additionalProperties: type: string description: Localized names of the fee. origin: enum: - INTERNAL - EXTERNAL description: origin of the fee, `INTERNAL` defined in commerce engine, `EXTERNAL` specified when item is added to the cart. price: $ref: '#/components/schemas/calculatedPrice' discountedPrice: $ref: '#/components/schemas/calculatedPriceWithDiscounts' calculatedPaymentFee: type: object properties: id: type: string description: Unique identifier of the fee. type: type: string enum: - PERCENT - ABSOLUTE - ABSOLUTE_MULTIPLY_ITEMQUANTITY description: Type of the fee. name: type: object additionalProperties: type: string description: Localized names of the fee. price: $ref: '#/components/schemas/calculatedPrice' title: calculatedPaymentFee calculatedPriceWithDiscounts: allOf: - $ref: '#/components/schemas/calculatedPrice' - type: object properties: appliedDiscounts: type: array items: $ref: '#/components/schemas/calculatedAppliedDiscount' calculatedAppliedDiscount: type: object properties: id: type: string description: The ID of the applied discount. value: type: number format: double description: The calculated value of the discount. price: allOf: - $ref: '#/components/schemas/calculatedPrice' - type: object description: Applied discount's price. When discount is applied before tax the value equals `price.netValue` and `price.grossValue` for discount applied after tax. discountType: type: string enum: - PERCENT - ABSOLUTE - FREE_SHIPPING description: The discount type which shows how the discount was calculated. origin: type: string enum: - INTERNAL - EXTERNAL description: Indicates whether the discount is from internal coupon (INTERNAL) or external discount (EXTERNAL). calculatedTotalDiscount: type: object description: The total combined value of all applied discounts. properties: calculationType: type: string enum: - ApplyDiscountBeforeTax - ApplyDiscountAfterTax description: Indicates whether discounts were calculated using net or gross price values. value: type: number format: double description: The calculated amount of all discounts. price: allOf: - $ref: '#/components/schemas/calculatedPrice' - type: object description: Total discounts price. When discounts are applied before tax the value equals `price.netValue` and `price.grossValue` for discounts applied after tax. appliedDiscounts: type: array description: All applied discounts that are parts of the sum. items: $ref: '#/components/schemas/calculatedAppliedDiscount' orderEntryCalculatedPrice: type: object properties: price: allOf: - $ref: '#/components/schemas/calculatedPrice' - type: object description: The price is calculated by multiplying the unit price (taken from priceMatch) by the quantity. - properties: calculated: type: string description: Indicates how the line item price was determined. - `INTERNAL` — Calculated by Emporix using unit price × quantity. - `EXTERNAL` — Provided externally with `lineTax`. enum: - INTERNAL - EXTERNAL upliftValue: allOf: - $ref: '#/components/schemas/calculatedPrice' - type: object description: Maximum additional amount authorized for payment to cover potential price adjustments during packaging of weight-based products. For example, if the item’s `price.netValue=12`, the `upliftValue.netValue=1,2`, with 10% uplift configured. If the uplift value is not configured for an item, it's not returned in the response. properties: netValue: type: number format: double description: Net value of the uplift amount, value without tax. grossValue: type: number format: double description: Gross value of the uplift amount, value with tax. taxValue: type: number format: double description: Tax value of the uplift amount, it's the actual amount of tax that has to be paid. taxCode: type: string description: Tax code applied to uplift amount, a tax code is a country's set of tax rules. taxRate: type: number format: double description: Tax rate applied to the uplift amount, it's the percentage at which an individual or business is taxed. discountedPrice: allOf: - $ref: '#/components/schemas/calculatedPriceWithDiscounts' - type: object description: The total price for the item line calculated by multiplying the unit price by the quantity, with applied discounts. If there are no applied discounts to the given line item, the attribute is not returned in the response. properties: netValue: type: number format: double description: The net value after applying discounts, calculated if `includesTax=false`. grossValue: type: number format: double description: The gross value after applying discounts, calculated if `includesTax=true`. taxValue: type: number format: double description: The difference between `grossValue` and `netValue`. taxRate: type: number format: double description: Tax rate applied to the discounted price, it's the percentage at which an individual or business is taxed. taxCode: type: string description: Tax code applied to the discounted price, a tax code is a country's set of tax rules. appliedDiscounts: type: array description: A list of discounts applied to the line item. items: allOf: - $ref: '#/components/schemas/calculatedAppliedDiscount' - type: object properties: id: type: string description: Discount identifier. value: type: number format: double description: Value of the discount that was applied. discountType: type: string enum: - PERCENT - ABSOLUTE - FREE_SHIPPING description: PERCENT for percentage discounts and ABSOLUTE for amount applied to the line item. fees: type: array description: A list of fees applied to the line item. If there are no fees on the item line, it's not returned in the response. items: allOf: - $ref: '#/components/schemas/calculatedFee' - type: object properties: id: type: string description: Fee identifier. type: type: string enum: - PERCENT - ABSOLUTE - ABSOLUTE_MULTIPLY_ITEMQUANTITY description: PERCENT for fee percentage of the item's line `price.netValue` - unit price x quantity. ABSOLUTE for the absolute amount assigned to the item line. ABSOLUTE_MULTIPLY_ITEMQUANTITY for the monetary amount multiplied by the item quantity and assigned to the item line. origin: enum: - INTERNAL - EXTERNAL description: INTERNAL defined in commerce engine, EXTERNAL specified when an item is added to the order. name: type: object description: Fee name. price: type: object description: The calculated price of the fee. properties: netValue: type: number format: double description: Monetary amount of the fee, depends on the fee type. grossValue: type: number format: double description: Value calculated based on the `taxCode` and the `taxRate` if `taxable=true`. taxRate: type: number format: double description: If a fee is defined with the attribute `taxable=true`, the tax rate is calculated based on the provided `taxCode` at the fee level. A taxable fee must have a defined `taxCode`. taxCode: type: string description: Tax code defined on the fee level, for example STANDARD. The value should match the available tax codes in the system configuration. discountedPrice: allOf: - $ref: '#/components/schemas/calculatedPriceWithDiscounts' - type: object description: The total price for the item line calculated by multiplying the unit price by the quantity, with applied discounts. If there are no applied discounts to the given line item, the attribute is not returned in the response. properties: netValue: type: number format: double description: The net value after applying discounts, calculated if `includesTax=false`. grossValue: type: number format: double description: The gross value after applying discounts, calculated if `includesTax=true`. taxValue: type: number format: double description: The difference between `grossValue` and `netValue`. taxRate: type: number format: double description: Refers to `fees[].price.taxRate`. taxCode: type: string description: Refers to `fees[].price.taxCode`. appliedDiscounts: type: array description: A list of discounts applied to the line item. items: allOf: - $ref: '#/components/schemas/calculatedAppliedDiscount' - type: object properties: id: type: string description: Discount identifier. value: type: number format: double description: Monetary amount of the discount applied to the price for the given discount ID. discountType: type: string enum: - PERCENT - ABSOLUTE - FREE_SHIPPING description: PERCENT for percentage discounts and ABSOLUTE for amount applied to the line item. totalFee: allOf: - $ref: '#/components/schemas/calculatedPriceWithDiscounts' - type: object description: Sum of all fees applied to the item. It's calculated by summarizing `fees[].discountedPrice` if any discounts were applied to the fee, or `fees[].price` for an pre-discounted fee. If there are no fees applied to the line item, it's not returned in the response. properties: netValue: type: number format: double description: Net value of the price, price without tax. grossValue: type: number format: double description: Gross value of the price, price with tax. taxValue: type: number format: double description: Tax value of the price, it's the actual amount of tax that has to be paid. taxRate: type: number format: double description: If all fees have the same `taxCode` defined, which results in the same `taxRate`, then the value is present. Otherwise, the field is not returned. taxCode: type: string description: If all fees have the same `taxCode`, then the value is present. Otherwise, the field is not returned. appliedDiscounts: type: array description: A list of discounts applied to the line item. items: allOf: - $ref: '#/components/schemas/calculatedAppliedDiscount' - type: object properties: id: type: string description: Discount identifier. value: type: number format: double description: Sum of all `fees[].discountedPrice.appliedDiscounts[].value` grouped by `discount.id` discountType: type: string enum: - PERCENT - ABSOLUTE - FREE_SHIPPING description: PERCENT for percentage discounts and ABSOLUTE for amount applied to the line item. totalDiscount: allOf: - $ref: '#/components/schemas/calculatedTotalDiscount' - type: object description: A summary of all discounts applied to the line, including discounts on both the line item's price and its fees. If there are no discounts applied on to the line item, it's not returned in the response. properties: calculationType: type: string enum: - ApplyDiscountBeforeTax - ApplyDiscountAfterTax description: Indicates whether discounts were applied to net or gross values. value: type: number format: double description: Aggregated sum of `lines[].calculatedPrice.totalDiscount.value` plus the sum of shipping discounts `totalShipping.appliedDiscounts[].value`. appliedDiscounts: type: array description: A list of the applied discounts. items: allOf: - $ref: '#/components/schemas/calculatedAppliedDiscount' - type: object properties: id: type: string description: Discount identifier. value: type: number format: double description: The sum of all `lines[].calculatedPrice.totalDiscount.value` plus `totalShipping.appliedDiscounts[].value` grouped by the discount ID. discountType: type: string enum: - PERCENT - ABSOLUTE - FREE_SHIPPING description: PERCENT for percentage discounts, ABSOLUTE for monetary amount and FREE_SHIPPING is shipping is fully discounted. finalPrice: allOf: - $ref: '#/components/schemas/calculatedPrice' - type: object description: The final price is the sum of the `discountedPrice` or the original price, depending on whether any discounts were applied to the line item, and the `totalFee`, which includes all fees applied to the line item. Since the total fee already includes the discounted prices of fees, the sum is calculated at the `totalFee` level. properties: netValue: type: number format: double description: The sum of line items, `discountedPrice.netValue` or `price.netValue`, and `totalFee.netValue`. grossValue: type: number format: double description: The sum of line items, `discountedPrice.grossValue` or `price.grossValue`, and `totalFee.grossValue`. taxValue: type: number format: double description: The result of subtracting `netValue` and `grossValue`, which is equal to the sum of all `taxValues` from the prices. taxRate: type: number format: double description: If the tax code of the line item matches the tax code of all applied fees, the tax rate is populated with the value. Otherwise, it's not returned in the response. taxCode: type: string description: The common tax code of the line item and all applicable fees. If at least one fee does not have a defined tax code, the common tax code cannot be determined, and the field is empty. required: - finalPrice externalDiscountType: type: string description: Type of the external discount. enum: - PERCENT - ABSOLUTE externalDiscount: type: object description: External discount that was applied to order items. properties: id: type: string description: Unique identifier of the external discount. discountType: $ref: '#/components/schemas/externalDiscountType' value: type: number format: double minimum: 0.0 maximum: 100.0 description: Value of the discount (percentage e.g 15.00 -> 15% or absolute amount e.g 10.00 -> 10 EUR depending on the discountType). For discountType=`PERCENT`, maximum is 100.0; for ABSOLUTE, there is no limit. includeFees: type: boolean description: Flag indicating whether the discount is also applied to fees. sequence: type: integer description: Sequence number determining the order in which discounts are applied. The lowest sequence number is applied first. required: - id - discountType - value externalFee: type: object required: - feeType properties: id: type: string description: Unique identifier of the fee. name: allOf: - $ref: '#/components/schemas/localizedValue' description: Fee name. feeType: type: string description: Type of the fee. enum: - PERCENT - ABSOLUTE - ABSOLUTE_MULTIPLY_ITEMQUANTITY feePercentage: type: number description: Value of the fee as percentage. It must be provided when feeType equals `PERCENT`. feeAbsolute: type: object description: Value of the fee as absolute. It must be provided when feeType equals `ABSOLUTE` or `ABSOLUTE_MULTIPLY_ITEMQUANTITY`. required: - currency - amount properties: currency: type: string description: Currency of the fee absolute. amount: type: number description: Value of the fee absolute. taxable: type: boolean description: It marks whether tax should be included to the fee or not. A taxable fee must have the `taxCode` attribute provided. taxCode: type: string description: Tax code of the fee. priceMatchDetails: title: priceMatchDetails type: object properties: netValue: type: number format: double description: The net value of the matched price grossValue: type: number format: double description: The gross value of the matched price taxValue: type: number format: double description: The calculated tax value taxCode: type: string description: The applied tax code taxRate: type: number format: double description: The applied tax rate taxCountry: type: string description: The tax country for which the price was matched description: This model represents the price value retrieved from the price service responses: trait_yaasAware_403: description: | Given authorization scopes are not sufficient and do not match required scopes. content: application/json: schema: title: error description: Schema for API specified errors. example: status: 403 message: Given request does not have required scopes. It is not authorized to perform this operation. type: insufficient_permissions type: object properties: status: minimum: 100 maximum: 599 description: 'original HTTP error code, should be consistent with the response HTTP code' type: integer type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error type, lower case with underscore eg validation_failure' type: string message: description: descriptive error message for debugging type: string moreInfo: type: string description: link to documentation to investigate further and finding support details: description: list of problems causing this error type: array items: title: errorDetail description: schema for specific error cause type: object properties: field: description: a bean notation expression specifying the element in request data causing the error type: string type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error detail type, lower case with underscore eg missing_value, this value must be always interpreted in context of the general error type.' type: string message: description: descriptive error detail message for debugging type: string moreInfo: type: string description: link to documentation to investigate further and finding support for error detail required: - type required: - status - type trait_resourceLocation_409: description: | Creation failed because there was a conflict with another resource. Details of the error are included in the response payload. content: application/json: schema: title: error description: Schema for API specified errors. example: status: 409 message: The requested resource could not be created due to server-side validation. type: conflict_resource type: object properties: status: minimum: 100 maximum: 599 description: 'original HTTP error code, should be consistent with the response HTTP code' type: integer type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error type, lower case with underscore eg validation_failure' type: string message: description: descriptive error message for debugging type: string moreInfo: type: string description: link to documentation to investigate further and finding support details: description: list of problems causing this error type: array items: title: errorDetail description: schema for specific error cause type: object properties: field: description: a bean notation expression specifying the element in request data causing the error type: string type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error detail type, lower case with underscore eg missing_value, this value must be always interpreted in context of the general error type.' type: string message: description: descriptive error detail message for debugging type: string moreInfo: type: string description: link to documentation to investigate further and finding support for error detail required: - type required: - status - type trait_billingAware_400: description: Request syntactically incorrect. Details of the error are included in the response payload. content: application/json: schema: title: error description: Schema for API specified errors. example: status: 400 message: 'There are validation problems, see details section for more information' type: validation_violation details: - field: client-owner message: must be between 3 and 16 characters type: invalid_header type: object properties: status: minimum: 100 maximum: 599 description: 'original HTTP error code, should be consistent with the response HTTP code' type: integer type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error type, lower case with underscore eg validation_failure' type: string message: description: descriptive error message for debugging type: string moreInfo: type: string description: link to documentation to investigate further and finding support details: description: list of problems causing this error type: array items: title: errorDetail description: schema for specific error cause type: object properties: field: description: a bean notation expression specifying the element in request data causing the error type: string type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error detail type, lower case with underscore eg missing_value, this value must be always interpreted in context of the general error type.' type: string message: description: descriptive error detail message for debugging type: string moreInfo: type: string description: link to documentation to investigate further and finding support for error detail required: - type required: - status - type trait_paged_400: description: | Request was syntactically incorrect. Details of the error are included in the response payload. content: application/json: schema: title: error description: Schema for API specified errors. example: status: 400 message: 'There are validation problems, see details section for more information' type: validation_violation details: - field: pageNumber message: must be a positive number type: invalid_query_parameter type: object properties: status: minimum: 100 maximum: 599 description: 'original HTTP error code, should be consistent with the response HTTP code' type: integer type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error type, lower case with underscore eg validation_failure' type: string message: description: descriptive error message for debugging type: string moreInfo: type: string description: link to documentation to investigate further and finding support details: description: list of problems causing this error type: array items: title: errorDetail description: schema for specific error cause type: object properties: field: description: a bean notation expression specifying the element in request data causing the error type: string type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error detail type, lower case with underscore eg missing_value, this value must be always interpreted in context of the general error type.' type: string message: description: descriptive error detail message for debugging type: string moreInfo: type: string description: link to documentation to investigate further and finding support for error detail required: - type required: - status - type trait_order_404: description: Order does not exist content: application/json: schema: title: error description: Schema for API specified errors. example: status: 404 message: The requested resource was not found on the server. type: element_resource_non_existing type: object properties: status: minimum: 100 maximum: 599 description: 'original HTTP error code, should be consistent with the response HTTP code' type: integer type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error type, lower case with underscore eg conflict_resource' type: string message: description: descriptive error message for debugging type: string required: - status - type trait_order_409: description: Optimistic locking failed. User sends metadata/version attribute which is outdated (someone else updated order in the time user was performing his changes). User should retrieve the latest order data and retry the request. content: application/json: schema: title: error description: Schema for API specified errors. example: status: 409 message: Order update cannot be done. Update version is not valid. type: conflict_resource type: object properties: status: minimum: 100 maximum: 599 description: 'original HTTP error code, should be consistent with the response HTTP code' type: integer type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error type, lower case with underscore eg conflict_resource' type: string message: description: descriptive error message for debugging type: string required: - status - type trait_restricted_403: description: Access forbidden. The caller is not allowed to access this resource. content: application/json: schema: title: error description: Schema for API specified errors. example: status: 403 message: Not allowed to access this resource type: insufficient_permissions type: object properties: status: minimum: 100 maximum: 599 description: 'original HTTP error code, should be consistent with the response HTTP code' type: integer type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error type, lower case with underscore eg validation_failure' type: string message: description: descriptive error message for debugging type: string moreInfo: type: string description: link to documentation to investigate further and finding support details: description: list of problems causing this error type: array items: title: errorDetail description: schema for specific error cause type: object properties: field: description: a bean notation expression specifying the element in request data causing the error type: string type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error detail type, lower case with underscore eg missing_value, this value must be always interpreted in context of the general error type.' type: string message: description: descriptive error detail message for debugging type: string moreInfo: type: string description: link to documentation to investigate further and finding support for error detail required: - type required: - status - type trait_500: description: | Some server side error occurred. content: application/json: schema: title: error description: Schema for API specified errors. example: status: 500 message: Something went wrong while processing the request. Please contact the administrator. type: internal_service_error type: object properties: status: minimum: 100 maximum: 599 description: 'original HTTP error code, should be consistent with the response HTTP code' type: integer type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error type, lower case with underscore eg validation_failure' type: string message: description: descriptive error message for debugging type: string moreInfo: type: string description: link to documentation to investigate further and finding support details: description: list of problems causing this error type: array items: title: errorDetail description: schema for specific error cause type: object properties: field: description: a bean notation expression specifying the element in request data causing the error type: string type: pattern: '[a-z]+[a-z_]*[a-z]+' description: 'classification of the error detail type, lower case with underscore eg missing_value, this value must be always interpreted in context of the general error type.' type: string message: description: descriptive error detail message for debugging type: string moreInfo: type: string description: link to documentation to investigate further and finding support for error detail required: - type required: - status - type parameters: trait_orderId: name: orderId description: | Unique identifier of an order. in: path required: true schema: type: string trait_tenant: name: tenant in: path required: true description: | The tenant that the caller is acting upon. Please note that this value is always lowercase. schema: pattern: '^[a-z][a-z0-9]+$' minLength: 3 maxLength: 16 type: string trait_saas_token: name: saas-token in: header required: false description: | Required only when using **access token (client credentials)**. Not used with customer token. Token used to identify the logged-in user; has an expiry and is signed with a passphrase. schema: type: string trait_sortable_sort: name: sort in: query description: | The list of comma-separated properties used to sort the results. By default, the column values are sorted in ascending order. Can either be in the form of fieldName or fieldName:asc,fieldName:desc. If you want to sort by localized attributes, you must use the following form: fieldName.language or fieldName.language:asc,fieldName.language:desc. schema: type: string trait_paged_pageNumber: name: pageNumber in: query description: | The page number to be retrieved where the size of the pages must be specified by the pageSize parameter. The number of the first page is 1. schema: default: 1 minimum: 1 type: integer trait_paged_pageSize: name: pageSize in: query description: | The number of documents being retrieved on the page. schema: default: 16 minimum: 1 type: integer trait_queryable_q: name: q in: query description: | A standard query parameter is used to search for specific values. + Searching for an item by string property: `q=currency:USD` where `currency` is the name of string field and `USD` is its required value. + Searching for items by number-based property: + Searching for items with specific value: `q=tax.total.amount:20` + Searching for items with value greater than: `q=tax.total.amount:>20` + Searching for items with value lower than: `q=tax.total.amount:<20` + Searching for items with value greater or equal than: `q=tax.total.amount:>=20` + Searching for items with value lower or equal than: `q=tax.total.amount:<=20` + Searching for items with within a range of values: `q=tax.total.amount:(>=10 AND <=20)`\ where `tax.total.amount` is name of number-based field and `20` is it's querying value. + Searching for items by date property. All number-based property queries are valid also for dates. In that case the date should be placed within double quotes: `q=created:(>="2021-05-18T07:27:27.455Z" AND <"2021-05-20T07:27:27.455Z")` + Searching for items by boolean value: `q=customer.mixins.generalAttributes.invoiceNotDeliveryAddress:true` where `customer.mixins.generalAttributes.invoiceNotDeliveryAddress` is a name of boolean field and 'true' is it`s required value. + Searching for items with non existing or empty property: `q=billingAddress.contactPhone:null` where `billingAddress.contactPhone` is a name of fields that has value `null`. + Searching for items with existing property: `q=mixins.mixinName:exists` where the specific mixin named `mixinName` exists in the database. + Searching for items by multiple specific values: `q=id:(order_id1,order_id2)` where `id` is name of field and strings within a bracket are it's required value. + Searching for items by multiple fields: `q=id:order_id1 status:COMPLETED` where `id` and `status` are the names of fields. All documents that contain given values of these fields are returned. Multiple fields separated by space can be specified. Multiple values for each field can be also specified in a format presented above. schema: type: string example: 'currency:USD' trait_fields: name: fields in: query description: | A list of comma-separated fields names of the Order. If the field is empty then full order is returned. Otherwise, only the indicated fields will be populated in a response. schema: type: string trait_recalculate: name: recalculate in: query description: | Flag that enforces order recalculation. If set to `true`, the whole order, including the coupon discounts, will be recalculated. schema: default: false type: boolean trait_legal_entity: name: legalEntityId in: path required: true schema: type: string description: Identifier of the legal entity within which the operations are carried out. examples: salesOrders: value: - status: IN_CHECKOUT entries: - id: BC10033--BC10033-43 itemYrn: 'urn:yaas:saasag:caasproduct:product:test;BC10033--BC10033-43' amount: 3 orderedAmount: 3 effectiveQuantity: 3 originalAmount: 100 originalPrice: 100 unitPrice: 100 calculatedUnitPrice: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 totalPrice: 300 authorizedAmount: 300 product: metadata: mixins: productTemplateAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-templateAttributes_v1.json' productVariantAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-variantAttributes_v1.json' id: BC10033--BC10033-43 sku: '8033546091234' name: 'Safety shoes high Reptile RS S3 SRC, black' localizedName: de: 'Hohe Sicherheitsschuhe Reptile RS S3 SRC, schwarz' en: 'Safety shoes high Reptile RS S3 SRC, black' description: '[de:Sicherheitsstiefel, klassisch und robust, U-Power Style&Job Linie, Obermaterial aus wasserabweisendem, bedrucktem Leder, Stahlkappe, Durchtrittsicherheit, rutschfest, ergonomisches Inox Laminat und PU/PU Sohle, RS S3 SRC., en:Safety shoes high, U-Power, classic and strong of the "Style & Job" range, with water repellent printed leather upper, steel toe cap, anti-puncture, anti-slip, ergonomic steel foil and PU / PU sole, RS S3 SRC.]' published: true images: - id: 6437eb7f8fc03d22f4e856ce url: 'http://res.cloudinary.com/saas-ag/image/upload/v1681386368/test/media/6437eb7f8fc03d22f4e856ce' stored: false mixins: productVariantAttributes: size: 43 productType: VARIANT tax: lines: - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 0 inclusive: false total: amount: 0 currency: EUR inclusive: false price: priceId: 6763cd21139f370cd9244d37 currency: EUR originalAmount: 100 effectiveAmount: 100 basePrice: {} presentationPrice: {} metadata: createdAt: '2024-12-19T07:37:05.559Z' modifiedAt: '2024-12-19T07:37:05.559Z' version: 1 totalDiscount: amount: 0 currency: EUR fees: total: subTotal: 0 totalTax: 0 total: 0 metadata: mixins: fees: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' mixins: fees: total: subTotal: 0 totalTax: 0 total: 0 discount: 0 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 finalPrice: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 priceMatchDetails: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 taxCountry: DE discounts: [] customer: id: '61443563' name: Test name firstName: John lastName: Smith company: Emporix email: test@test.com siteCode: DE countryCode: DE billingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE shippingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE payments: - status: PENDING method: invoice paymentResponse: Payment is handled externally paidAmount: 0 currency: EUR transactionId: fcc2bf50-f064-4dc3-833f-0909a7857387 authorizedAmount: 373.12 provider: payment-gateway shipping: total: amount: 39.2 currency: EUR lines: - amount: 35 currency: EUR code: pickup name: pickup localizedName: en: pickup de: pickup tax: total: amount: 4.2 currency: EUR inclusive: false rate: 12 shippingTaxCode: REDUCED tax: lines: - amount: 4.2 currency: EUR code: REDUCED name: REDUCED rate: 12 sequenceId: 0 inclusive: false - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 1 inclusive: false total: amount: 0 currency: EUR inclusive: false subTotalPrice: 300 totalPrice: 333.92 totalAuthorizedAmount: 373.12 currency: EUR metadata: mixins: payments: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' deliveryTime: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/deliveryTimeMixIn.v2.json' generalAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/orderGeneralAttributesMixIn.v9.json' payment: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/paymentMixIn.v3.json' version: 1 mixins: payments: elements: - paymentMethodYrn: 'urn:yaas:hybris:payments:payment-method:test;invoice' fees: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 0 totalTax: 0 total: 0 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 deliveryTime: deliveryTimeId: 64e36da5814eba1635228dfe deliveryDate: '2025-02-07T11:00:00.000Z' deliveryTimeFrom: '10:00' deliveryTimeTo: '14:30' deliveryTimeZoneId: deliveryarea deliveryTimeMethodId: pickup deliveryCosts: 35 generalAttributes: extendedOrderStatus: '05' customerFirstOrder: false orderNumber: EON2076 payment: paymentType: invoice deliveryWindow: id: 64e36da5814eba1635228dfe slotId: c291c677-5460-4efb-b893-145c866a2af2 deliveryDate: '2025-02-07' deliveryCycle: 2025-02-07-15pickupFriday1000-1430 deliveryCycleName: pickupFriday1000-1430 deliveryTimeRange: timeFrom: '10:00' timeTo: '14:30' feeYrnAggregate: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 total: subTotal: 33.92 totalTax: 0 total: 33.92 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 paymentFees: - id: 678f552a949c723de46bdb14 type: PERCENT name: de: Payment fee en: Payment fee price: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalFee: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalShipping: netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 finalPrice: netValue: 368.5 grossValue: 433.72 taxValue: 65.22 taxAggregate: lines: - netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 - netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 - netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 channel: {} created: '2025-01-30T13:45:34.406Z' lastStatusChange: '2025-01-30T13:45:34.406Z' id: EON2076 createdBy: '61443563' - status: IN_CHECKOUT entries: - id: BC10033--BC10033-43 itemYrn: 'urn:yaas:saasag:caasproduct:product:test;BC10033--BC10033-43' amount: 3 orderedAmount: 3 effectiveQuantity: 3 originalAmount: 100 originalPrice: 100 unitPrice: 100 calculatedUnitPrice: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 totalPrice: 300 authorizedAmount: 300 product: metadata: mixins: productTemplateAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-templateAttributes_v1.json' productVariantAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-variantAttributes_v1.json' id: BC10033--BC10033-43 sku: '8033546091234' name: 'Safety shoes high Reptile RS S3 SRC, black' localizedName: de: 'Hohe Sicherheitsschuhe Reptile RS S3 SRC, schwarz' en: 'Safety shoes high Reptile RS S3 SRC, black' description: '[de:Sicherheitsstiefel, klassisch und robust, U-Power Style&Job Linie, Obermaterial aus wasserabweisendem, bedrucktem Leder, Stahlkappe, Durchtrittsicherheit, rutschfest, ergonomisches Inox Laminat und PU/PU Sohle, RS S3 SRC., en:Safety shoes high, U-Power, classic and strong of the "Style & Job" range, with water repellent printed leather upper, steel toe cap, anti-puncture, anti-slip, ergonomic steel foil and PU / PU sole, RS S3 SRC.]' published: true images: - id: 6437eb7f8fc03d22f4e856ce url: 'http://res.cloudinary.com/saas-ag/image/upload/v1681386368/test/media/6437eb7f8fc03d22f4e856ce' stored: false mixins: productVariantAttributes: size: 43 productType: VARIANT tax: lines: - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 0 inclusive: false total: amount: 0 currency: EUR inclusive: false price: priceId: 6763cd21139f370cd9244d37 currency: EUR originalAmount: 100 effectiveAmount: 100 basePrice: {} presentationPrice: {} metadata: createdAt: '2024-12-19T07:37:05.559Z' modifiedAt: '2024-12-19T07:37:05.559Z' version: 1 totalDiscount: amount: 0 currency: EUR fees: total: subTotal: 0 totalTax: 0 total: 0 metadata: mixins: fees: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' mixins: fees: total: subTotal: 0 totalTax: 0 total: 0 discount: 0 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 finalPrice: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 priceMatchDetails: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 taxCountry: DE discounts: [] customer: id: '61443563' name: Test name firstName: John lastName: Smith company: Emporix email: test@test.com siteCode: DE countryCode: DE billingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE shippingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE payments: - status: PENDING method: invoice paymentResponse: Payment is handled externally paidAmount: 0 currency: EUR transactionId: fcc2bf50-f064-4dc3-833f-0909a7857387 authorizedAmount: 373.12 provider: payment-gateway shipping: total: amount: 39.2 currency: EUR lines: - amount: 35 currency: EUR code: pickup name: pickup localizedName: en: pickup de: pickup tax: total: amount: 4.2 currency: EUR inclusive: false rate: 12 shippingTaxCode: REDUCED tax: lines: - amount: 4.2 currency: EUR code: REDUCED name: REDUCED rate: 12 sequenceId: 0 inclusive: false - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 1 inclusive: false total: amount: 0 currency: EUR inclusive: false subTotalPrice: 300 totalPrice: 333.92 totalAuthorizedAmount: 373.12 currency: EUR metadata: mixins: payments: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' deliveryTime: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/deliveryTimeMixIn.v2.json' generalAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/orderGeneralAttributesMixIn.v9.json' payment: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/paymentMixIn.v3.json' version: 1 mixins: payments: elements: - paymentMethodYrn: 'urn:yaas:hybris:payments:payment-method:test;invoice' fees: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 0 totalTax: 0 total: 0 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 deliveryTime: deliveryTimeId: 64e36da5814eba1635228dfe deliveryDate: '2025-02-07T11:00:00.000Z' deliveryTimeFrom: '10:00' deliveryTimeTo: '14:30' deliveryTimeZoneId: deliveryarea deliveryTimeMethodId: pickup deliveryCosts: 35 generalAttributes: extendedOrderStatus: '05' customerFirstOrder: false orderNumber: EON2076 payment: paymentType: invoice deliveryWindow: id: 64e36da5814eba1635228dfe slotId: c291c677-5460-4efb-b893-145c866a2af2 deliveryDate: '2025-02-07' deliveryCycle: 2025-02-07-15pickupFriday1000-1430 deliveryCycleName: pickupFriday1000-1430 deliveryTimeRange: timeFrom: '10:00' timeTo: '14:30' feeYrnAggregate: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 total: subTotal: 33.92 totalTax: 0 total: 33.92 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 paymentFees: - id: 678f552a949c723de46bdb14 type: PERCENT name: de: Payment fee en: Payment fee price: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalFee: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalShipping: netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 finalPrice: netValue: 368.5 grossValue: 433.72 taxValue: 65.22 taxAggregate: lines: - netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 - netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 - netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 channel: {} created: '2025-01-30T13:45:34.406Z' lastStatusChange: '2025-01-30T13:45:34.406Z' id: EON2076 createdBy: '61443563' salesOrderCreation: value: status: IN_CHECKOUT entries: - id: BC10033--BC10033-43 itemYrn: 'urn:yaas:saasag:caasproduct:product:test;BC10033--BC10033-43' amount: 3 orderedAmount: 3 effectiveQuantity: 3 calculatedUnitPrice: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 product: metadata: mixins: productTemplateAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-templateAttributes_v1.json' productVariantAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-variantAttributes_v1.json' id: BC10033--BC10033-43 sku: '8033546091234' name: 'Safety shoes high Reptile RS S3 SRC, black' localizedName: de: 'Hohe Sicherheitsschuhe Reptile RS S3 SRC, schwarz' en: 'Safety shoes high Reptile RS S3 SRC, black' description: '[de:Sicherheitsstiefel, klassisch und robust, U-Power Style&Job Linie, Obermaterial aus wasserabweisendem, bedrucktem Leder, Stahlkappe, Durchtrittsicherheit, rutschfest, ergonomisches Inox Laminat und PU/PU Sohle, RS S3 SRC., en:Safety shoes high, U-Power, classic and strong of the "Style & Job" range, with water repellent printed leather upper, steel toe cap, anti-puncture, anti-slip, ergonomic steel foil and PU / PU sole, RS S3 SRC.]' published: true images: - id: 6437eb7f8fc03d22f4e856ce url: 'http://res.cloudinary.com/saas-ag/image/upload/v1681386368/test/media/6437eb7f8fc03d22f4e856ce' stored: false mixins: productVariantAttributes: size: 43 productType: VARIANT price: priceId: 6763cd21139f370cd9244d37 currency: EUR originalAmount: 100 effectiveAmount: 100 basePrice: {} presentationPrice: {} metadata: createdAt: '2024-12-19T07:37:05.559Z' modifiedAt: '2024-12-19T07:37:05.559Z' version: 1 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 finalPrice: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 priceMatchDetails: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 taxCountry: DE discounts: [] customer: id: '61443563' name: Test name firstName: John lastName: Smith company: Emporix email: test@test.com siteCode: DE countryCode: DE billingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE shippingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE payments: - status: PENDING method: invoice paymentResponse: Payment is handled externally paidAmount: 0 currency: EUR transactionId: fcc2bf50-f064-4dc3-833f-0909a7857387 authorizedAmount: 373.12 provider: payment-gateway totalAuthorizedAmount: 373.12 currency: EUR metadata: mixins: payments: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' deliveryTime: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/deliveryTimeMixIn.v2.json' generalAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/orderGeneralAttributesMixIn.v9.json' payment: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/paymentMixIn.v3.json' version: 1 mixins: payments: elements: - paymentMethodYrn: 'urn:yaas:hybris:payments:payment-method:test;invoice' fees: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 0 totalTax: 0 total: 0 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 deliveryTime: deliveryTimeId: 64e36da5814eba1635228dfe deliveryDate: '2025-02-07T11:00:00.000Z' deliveryTimeFrom: '10:00' deliveryTimeTo: '14:30' deliveryTimeZoneId: deliveryarea deliveryTimeMethodId: pickup deliveryCosts: 35 generalAttributes: extendedOrderStatus: '05' customerFirstOrder: false orderNumber: EON2076 payment: paymentType: invoice deliveryWindow: id: 64e36da5814eba1635228dfe slotId: c291c677-5460-4efb-b893-145c866a2af2 deliveryDate: '2025-02-07' deliveryCycle: 2025-02-07-15pickupFriday1000-1430 deliveryCycleName: pickupFriday1000-1430 deliveryTimeRange: timeFrom: '10:00' timeTo: '14:30' calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 paymentFees: - id: 678f552a949c723de46bdb14 type: PERCENT name: de: Payment fee en: Payment fee price: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalFee: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalShipping: netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 finalPrice: netValue: 368.5 grossValue: 433.72 taxValue: 65.22 taxAggregate: lines: - netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 - netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 - netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 channel: {} salesOrder1: value: status: IN_CHECKOUT entries: - id: BC10033--BC10033-43 itemYrn: 'urn:yaas:saasag:caasproduct:product:test;BC10033--BC10033-43' amount: 3 orderedAmount: 3 effectiveQuantity: 3 originalAmount: 100 originalPrice: 100 unitPrice: 100 calculatedUnitPrice: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 totalPrice: 300 authorizedAmount: 300 product: metadata: mixins: productTemplateAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-templateAttributes_v1.json' productVariantAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-variantAttributes_v1.json' id: BC10033--BC10033-43 sku: '8033546091234' name: 'Safety shoes high Reptile RS S3 SRC, black' localizedName: de: 'Hohe Sicherheitsschuhe Reptile RS S3 SRC, schwarz' en: 'Safety shoes high Reptile RS S3 SRC, black' description: '[de:Sicherheitsstiefel, klassisch und robust, U-Power Style&Job Linie, Obermaterial aus wasserabweisendem, bedrucktem Leder, Stahlkappe, Durchtrittsicherheit, rutschfest, ergonomisches Inox Laminat und PU/PU Sohle, RS S3 SRC., en:Safety shoes high, U-Power, classic and strong of the "Style & Job" range, with water repellent printed leather upper, steel toe cap, anti-puncture, anti-slip, ergonomic steel foil and PU / PU sole, RS S3 SRC.]' published: true images: - id: 6437eb7f8fc03d22f4e856ce url: 'http://res.cloudinary.com/saas-ag/image/upload/v1681386368/test/media/6437eb7f8fc03d22f4e856ce' stored: false mixins: productVariantAttributes: size: 43 productType: VARIANT tax: lines: - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 0 inclusive: false total: amount: 0 currency: EUR inclusive: false price: priceId: 6763cd21139f370cd9244d37 currency: EUR originalAmount: 100 effectiveAmount: 100 basePrice: {} presentationPrice: {} metadata: createdAt: '2024-12-19T07:37:05.559Z' modifiedAt: '2024-12-19T07:37:05.559Z' version: 1 totalDiscount: amount: 0 currency: EUR fees: total: subTotal: 0 totalTax: 0 total: 0 metadata: mixins: fees: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' mixins: fees: total: subTotal: 0 totalTax: 0 total: 0 discount: 0 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 finalPrice: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 priceMatchDetails: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 taxCountry: DE discounts: [] customer: id: '61443563' name: Test name firstName: John lastName: Smith company: Emporix email: test@test.com siteCode: DE countryCode: DE billingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE shippingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE payments: - status: PENDING method: invoice paymentResponse: Payment is handled externally paidAmount: 0 currency: EUR transactionId: fcc2bf50-f064-4dc3-833f-0909a7857387 authorizedAmount: 373.12 provider: payment-gateway shipping: total: amount: 39.2 currency: EUR lines: - amount: 35 currency: EUR code: pickup name: pickup localizedName: en: pickup de: pickup tax: total: amount: 4.2 currency: EUR inclusive: false rate: 12 shippingTaxCode: REDUCED tax: lines: - amount: 4.2 currency: EUR code: REDUCED name: REDUCED rate: 12 sequenceId: 0 inclusive: false - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 1 inclusive: false total: amount: 0 currency: EUR inclusive: false subTotalPrice: 300 totalPrice: 333.92 totalAuthorizedAmount: 373.12 currency: EUR metadata: mixins: payments: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' deliveryTime: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/deliveryTimeMixIn.v2.json' generalAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/orderGeneralAttributesMixIn.v9.json' payment: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/paymentMixIn.v3.json' version: 1 mixins: payments: elements: - paymentMethodYrn: 'urn:yaas:hybris:payments:payment-method:test;invoice' fees: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 0 totalTax: 0 total: 0 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 deliveryTime: deliveryTimeId: 64e36da5814eba1635228dfe deliveryDate: '2025-02-07T11:00:00.000Z' deliveryTimeFrom: '10:00' deliveryTimeTo: '14:30' deliveryTimeZoneId: deliveryarea deliveryTimeMethodId: pickup deliveryCosts: 35 generalAttributes: extendedOrderStatus: '05' customerFirstOrder: false orderNumber: EON2076 payment: paymentType: invoice deliveryWindow: id: 64e36da5814eba1635228dfe slotId: c291c677-5460-4efb-b893-145c866a2af2 deliveryDate: '2025-02-07' deliveryCycle: 2025-02-07-15pickupFriday1000-1430 deliveryCycleName: pickupFriday1000-1430 deliveryTimeRange: timeFrom: '10:00' timeTo: '14:30' feeYrnAggregate: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 total: subTotal: 33.92 totalTax: 0 total: 33.92 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 paymentFees: - id: 678f552a949c723de46bdb14 type: PERCENT name: de: Payment fee en: Payment fee price: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalFee: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalShipping: netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 finalPrice: netValue: 368.5 grossValue: 433.72 taxValue: 65.22 taxAggregate: lines: - netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 - netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 - netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 channel: {} created: '2025-01-30T13:45:34.406Z' lastStatusChange: '2025-01-30T13:45:34.406Z' id: EON2076 createdBy: '61443563' salesOrder2: value: id: EON1200 createdBy: "45620894" status: CREATED lastStatusChange: 2025-06-10T12:31:39.614Z created: 2025-06-10T12:31:39.614Z channel: name: storefront source: https://your-storefront.com/ cartId: 68481e9e8bf22744fc578572 entries: - id: 0_SLI_mobile-phone-s24-gross itemYrn: urn:yaas:saasag:caasproduct:product:b2b2cstage;mobile-phone-s24-gross keepAsSeparateLineItem: true type: INTERNAL amount: 2 orderedAmount: 2 effectiveQuantity: 2 originalAmount: 350 originalPrice: 350 unitPrice: 350 calculatedUnitPrice: netValue: 294.118 grossValue: 350 taxValue: 55.882 taxCode: STANDARD taxRate: 19 totalPrice: 700 authorizedAmount: 700 product: id: mobile-phone-s24-gross sku: Mobile Phone s24 gross name: Mobile Phone s24 gross localizedName: en: Mobile Phone s24 gross published: true images: - id: 67169928ceaab717e17f3734 url: http://res.cloudinary.com/saas-ag/image/upload/v1729534248/b2b2cstage/media/67169928ceaab717e17f3734 stored: false productType: BASIC tax: lines: - amount: 111.76 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 0 inclusive: true total: amount: 0 currency: EUR inclusive: true price: priceId: 679ca63dbcdefe5b380c98bc priceListId: abc123 currency: EUR originalAmount: 350 effectiveAmount: 350 basePrice: { } presentationPrice: { } metadata: createdAt: 2025-01-31T10:30:21.998Z modifiedAt: 2025-01-31T10:30:21.998Z version: 1 totalDiscount: amount: 84.06 currency: EUR fees: elements: - yrn: urn:yaas:saasag:fee:fee:b2b2cstage;677d49ca3a421b451eab23f2 name: de: Apple Picking Fee en: Apple Picking Fee taxCode: REDUCED total: subTotal: 3.5 totalTax: 0 total: 3.08 total: subTotal: 3.5 totalTax: 0 total: 3.08 metadata: mixins: fees: https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json mixins: fees: elements: - yrn: urn:yaas:saasag:fee:fee:b2b2cstage;677d49ca3a421b451eab23f2 name: de: Apple Picking Fee en: Apple Picking Fee taxCode: REDUCED total: subTotal: 3.5 totalTax: 0 total: 3.08 discount: 0.42 total: subTotal: 3.5 totalTax: 0 total: 3.08 discount: 0.42 calculatedPrice: price: netValue: 588.235 grossValue: 700 taxValue: 111.765 taxCode: STANDARD taxRate: 19 discountedPrice: netValue: 282.862 grossValue: 336.606 taxValue: 53.744 taxCode: STANDARD taxRate: 19 appliedDiscounts: - value: 83.394 price: netValue: 70.079 grossValue: 83.394 taxValue: 13.315 taxCode: STANDARD taxRate: 19 discountType: ABSOLUTE origin: INTERNAL - id: buy-2-get-1-free value: 280 price: netValue: 235.294 grossValue: 280 taxValue: 44.706 taxCode: STANDARD taxRate: 19 discountType: PERCENT origin: EXTERNAL fees: - id: 677d49ca3a421b451eab23f2 type: ABSOLUTE origin: INTERNAL name: de: Apple Picking Fee en: Apple Picking Fee price: netValue: 3.5 grossValue: 3.745 taxValue: 0.245 taxCode: REDUCED taxRate: 7 discountedPrice: netValue: 3.083 grossValue: 3.299 taxValue: 0.216 taxCode: REDUCED taxRate: 7 appliedDiscounts: - value: 0.446 price: netValue: 0.417 grossValue: 0.446 taxValue: 0.029 taxCode: REDUCED taxRate: 7 discountType: ABSOLUTE origin: INTERNAL totalFee: netValue: 3.083 grossValue: 3.299 taxValue: 0.216 taxCode: REDUCED taxRate: 7 appliedDiscounts: - value: 0.446 price: netValue: 0.417 grossValue: 0.446 taxValue: 0.029 taxCode: REDUCED taxRate: 7 discountType: ABSOLUTE origin: INTERNAL totalDiscount: calculationType: ApplyDiscountAfterTax value: 363.84 price: netValue: 305.79 grossValue: 363.84 taxValue: 58.05 appliedDiscounts: - value: 83.84 price: netValue: 70.496 grossValue: 83.84 taxValue: 13.344 discountType: ABSOLUTE origin: INTERNAL - id: buy-2-get-1-free value: 280 price: netValue: 235.294 grossValue: 280 taxValue: 44.706 taxCode: STANDARD taxRate: 19 discountType: PERCENT origin: EXTERNAL finalPrice: netValue: 285.945 grossValue: 339.905 taxValue: 53.96 priceMatchDetails: netValue: 294.11764705882354 grossValue: 350 taxValue: 55.88235294117647 taxCode: STANDARD taxRate: 19 taxCountry: DE externalDiscounts: - id: buy-2-get-1-free discountType: PERCENT value: 40 sequence: 1 - id: shirt--301722c1-23e8-42b4-a4d8-1a5480fe3ea5 itemYrn: urn:yaas:saasag:caasproduct:product:b2b2cstage;shirt--301722c1-23e8-42b4-a4d8-1a5480fe3ea5 keepAsSeparateLineItem: false type: INTERNAL amount: 1 orderedAmount: 1 effectiveQuantity: 1 originalAmount: 10 originalPrice: 10 unitPrice: 10 calculatedUnitPrice: netValue: 9.346 grossValue: 10 taxValue: 0.654 taxCode: REDUCED taxRate: 7 totalPrice: 10 authorizedAmount: 10 product: metadata: mixins: productTemplateAttributes: https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/6818bfed8844a34a391a566e-templateAttributes_v1.json productVariantAttributes: https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/6818bfed8844a34a391a566e-variantAttributes_v1.json id: shirt--301722c1-23e8-42b4-a4d8-1a5480fe3ea5 sku: shirt--red name: shirt localizedName: en: shirt description: "[de:, en:, pl:]" published: true images: [ ] mixins: productVariantAttributes: color: red productType: VARIANT tax: lines: - amount: 0.65 currency: EUR code: REDUCED name: REDUCED rate: 7 sequenceId: 0 inclusive: true total: amount: 0 currency: EUR inclusive: true price: priceId: 6818c032524d1c16623037e2 currency: EUR originalAmount: 10 effectiveAmount: 10 basePrice: { } presentationPrice: { } metadata: createdAt: 2025-05-05T13:42:10.674Z modifiedAt: 2025-05-05T13:44:20.599Z version: 2 totalDiscount: amount: 1.19 currency: EUR fees: total: subTotal: 0 totalTax: 0 total: 0 metadata: mixins: fees: https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json mixins: fees: total: subTotal: 0 totalTax: 0 total: 0 discount: 0 calculatedPrice: price: netValue: 9.346 grossValue: 10 taxValue: 0.654 taxCode: REDUCED taxRate: 7 discountedPrice: netValue: 8.233 grossValue: 8.809 taxValue: 0.576 taxCode: REDUCED taxRate: 7 appliedDiscounts: - value: 1.191 price: netValue: 1.113 grossValue: 1.191 taxValue: 0.078 taxCode: REDUCED taxRate: 7 discountType: ABSOLUTE origin: INTERNAL totalDiscount: calculationType: ApplyDiscountAfterTax value: 1.191 price: netValue: 1.113 grossValue: 1.191 taxValue: 0.078 taxCode: REDUCED taxRate: 7 appliedDiscounts: - value: 1.191 price: netValue: 1.113 grossValue: 1.191 taxValue: 0.078 taxCode: REDUCED taxRate: 7 discountType: ABSOLUTE origin: INTERNAL finalPrice: netValue: 8.233 grossValue: 8.809 taxValue: 0.576 taxCode: REDUCED taxRate: 7 priceMatchDetails: netValue: 9.345794392523365 grossValue: 10 taxValue: 0.6542056074766355 taxCode: REDUCED taxRate: 7 taxCountry: DE - id: 2_SLI_mobile-phone-s27-gross itemYrn: urn:yaas:saasag:caasproduct:product:b2b2cstage;mobile-phone-s27-gross keepAsSeparateLineItem: true type: INTERNAL amount: 2 orderedAmount: 2 effectiveQuantity: 2 originalAmount: 55 originalPrice: 55 unitPrice: 55 calculatedUnitPrice: netValue: 51.402 grossValue: 55 taxValue: 3.598 taxCode: REDUCED taxRate: 7 totalPrice: 110 authorizedAmount: 143 product: id: mobile-phone-s27-gross sku: mobile-phone-s27-gross name: mobile-phone-s27-gross localizedName: en: mobile-phone-s27-gross description: "[en:mobile-phone-s27-gross]" published: true images: [ ] productType: BASIC tax: lines: - amount: 7.2 currency: EUR code: REDUCED name: REDUCED rate: 7 sequenceId: 0 inclusive: true total: amount: 0 currency: EUR inclusive: true price: priceId: 6797da2f3537716a5a537ecf currency: EUR originalAmount: 55 effectiveAmount: 55 basePrice: { } presentationPrice: { } metadata: createdAt: 2025-01-27T19:10:39.966Z modifiedAt: 2025-04-14T07:54:30.431Z version: 23 totalDiscount: amount: 13.56 currency: EUR fees: elements: - yrn: urn:yaas:saasag:fee:fee:b2b2cstage;677d49ca3a421b451eab23f2 name: Apple Picking Fee taxCode: REDUCED total: subTotal: 3.5 totalTax: 0 total: 3.08 total: subTotal: 3.5 totalTax: 0 total: 3.08 metadata: mixins: fees: https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json mixins: fees: elements: - yrn: urn:yaas:saasag:fee:fee:b2b2cstage;677d49ca3a421b451eab23f2 name: Apple Picking Fee taxCode: REDUCED total: subTotal: 3.5 totalTax: 0 total: 3.08 discount: 0.42 total: subTotal: 3.5 totalTax: 0 total: 3.08 discount: 0.42 calculatedPrice: price: netValue: 102.804 grossValue: 110 taxValue: 7.196 taxCode: REDUCED taxRate: 7 upliftValue: netValue: 30.841 grossValue: 33 taxValue: 2.159 taxCode: REDUCED taxRate: 7 discountedPrice: netValue: 90.556 grossValue: 96.895 taxValue: 6.339 taxCode: REDUCED taxRate: 7 appliedDiscounts: - value: 13.105 price: netValue: 12.248 grossValue: 13.105 taxValue: 0.857 taxCode: REDUCED taxRate: 7 discountType: ABSOLUTE origin: INTERNAL fees: - id: 677d49ca3a421b451eab23f2 type: ABSOLUTE origin: INTERNAL name: Apple Picking Fee price: netValue: 3.5 grossValue: 3.745 taxValue: 0.245 taxCode: REDUCED taxRate: 7 discountedPrice: netValue: 3.083 grossValue: 3.299 taxValue: 0.216 taxCode: REDUCED taxRate: 7 appliedDiscounts: - value: 0.446 price: netValue: 0.417 grossValue: 0.446 taxValue: 0.029 taxCode: REDUCED taxRate: 7 discountType: ABSOLUTE origin: INTERNAL totalFee: netValue: 3.083 grossValue: 3.299 taxValue: 0.216 taxCode: REDUCED taxRate: 7 appliedDiscounts: - value: 0.446 price: netValue: 0.417 grossValue: 0.446 taxValue: 0.029 taxCode: REDUCED taxRate: 7 discountType: ABSOLUTE origin: INTERNAL totalDiscount: calculationType: ApplyDiscountAfterTax value: 13.551 price: netValue: 12.665 grossValue: 13.551 taxValue: 0.886 taxCode: REDUCED taxRate: 7 appliedDiscounts: - value: 13.551 price: netValue: 12.665 grossValue: 13.551 taxValue: 0.886 taxCode: REDUCED taxRate: 7 discountType: ABSOLUTE origin: INTERNAL finalPrice: netValue: 93.639 grossValue: 100.194 taxValue: 6.555 taxCode: REDUCED taxRate: 7 priceMatchDetails: netValue: 51.401869158878505 grossValue: 55 taxValue: 3.5981308411214954 taxCode: REDUCED taxRate: 7 taxCountry: DE discounts: - code: TOTAL amount: 100 currency: EUR sequenceId: 1 categoryRestricted: false - code: LS100EUROTOTAL amount: 100 currency: EUR name: LS100EUROTOTAL calculationType: ApplyDiscountBeforeTax discountType: ABSOLUTE discountCalculationType: TOTAL categoryRestricted: false customer: id: "45620894" name: John Dutton firstName: John lastName: Dutton email: cartb2c.emporix@yopmail.com siteCode: GrossSite countryCode: DE billingAddress: contactName: Dom street: Kochanowskiego streetNumber: "21" streetAppendix: "" zipCode: 44-122 city: Gliwice country: DE state: Slaskie contactPhone: "" shippingAddress: contactName: Dom street: Kochanowskiego streetNumber: "21" streetAppendix: "" zipCode: 44-122 city: Gliwice country: DE state: Slaskie contactPhone: "" payments: - status: PENDING method: invoice paidAmount: 0 currency: EUR provider: stripe shipping: total: amount: 10.71 currency: EUR lines: - amount: 10 currency: EUR code: Pickup name: Pickup localizedName: en: Pickup tax: total: amount: 1.9 currency: EUR inclusive: false rate: 19 shippingTaxCode: STANDARD tax: lines: - amount: 7.85 currency: EUR code: REDUCED name: REDUCED rate: 7 sequenceId: 0 inclusive: false - amount: 113.66 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 1 inclusive: false total: amount: 1.9 currency: EUR inclusive: false subTotalPrice: 820 totalPrice: 812.79 totalAuthorizedAmount: 534.829 currency: EUR metadata: mixins: payments: https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json generalAttributes: https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/orderGeneralAttributesMixIn.v9.json version: 1 mixins: payments: elements: - paymentMethodYrn: urn:yaas:hybris:payments:payment-method:b2b2cstage;invoice fees: elements: - yrn: urn:yaas:saasag:fee:fee:b2b2cstage;678f552a949c723de46bdb14 name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 73.89 totalTax: 0 total: 73.89 discount: 0 total: subTotal: 0 totalTax: 0 total: 0 discount: 0 total: subTotal: 73.89 totalTax: 0 total: 73.89 discount: 0 total: subTotal: 73.89 totalTax: 0 total: 73.89 discount: 0 generalAttributes: extendedOrderStatus: "10" customerFirstOrder: false orderNumber: EON1200 feeYrnAggregate: elements: - yrn: urn:yaas:saasag:fee:fee:b2b2cstage;677d49ca3a421b451eab23f2 name: de: Apple Picking Fee en: Apple Picking Fee taxCode: REDUCED total: subTotal: 7 totalTax: 0 total: 6.16 - yrn: urn:yaas:saasag:fee:fee:b2b2cstage;678f552a949c723de46bdb14 name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 73.89 totalTax: 0 total: 73.89 total: subTotal: 80.89 totalTax: 0 total: 80.05 calculatedPrice: price: netValue: 700.385 grossValue: 820 taxValue: 119.615 upliftValue: netValue: 30.841 grossValue: 33 taxValue: 2.159 taxCode: REDUCED taxRate: 7 discountedPrice: netValue: 381.651 grossValue: 442.31 taxValue: 60.659 appliedDiscounts: - value: 97.69 price: netValue: 83.44 grossValue: 97.69 taxValue: 14.25 discountType: ABSOLUTE origin: INTERNAL - id: buy-2-get-1-free value: 280 price: netValue: 235.294 grossValue: 280 taxValue: 44.706 taxCode: STANDARD taxRate: 19 discountType: PERCENT origin: EXTERNAL paymentFees: - id: 678f552a949c723de46bdb14 type: PERCENT origin: INTERNAL name: de: Payment fee en: Payment fee price: netValue: 39.663 grossValue: 42.439 taxValue: 2.776 taxCode: REDUCED taxRate: 7 fees: netValue: 46.663 grossValue: 49.929 taxValue: 3.266 taxCode: REDUCED taxRate: 7 totalFee: netValue: 45.829 grossValue: 49.037 taxValue: 3.208 taxCode: REDUCED taxRate: 7 appliedDiscounts: - value: 0.892 price: netValue: 0.834 grossValue: 0.892 taxValue: 0.058 taxCode: REDUCED taxRate: 7 discountType: ABSOLUTE origin: INTERNAL shipping: netValue: 10 grossValue: 11.9 taxValue: 1.9 taxCode: STANDARD taxRate: 19 totalShipping: netValue: 8.808 grossValue: 10.482 taxValue: 1.674 taxCode: STANDARD taxRate: 19 appliedDiscounts: - value: 1.418 price: netValue: 1.192 grossValue: 1.418 taxValue: 0.226 taxCode: STANDARD taxRate: 19 discountType: ABSOLUTE origin: INTERNAL totalDiscount: calculationType: ApplyDiscountAfterTax value: 380 price: netValue: 320.76 grossValue: 380 taxValue: 59.24 appliedDiscounts: - value: 100 price: netValue: 85.466 grossValue: 100 taxValue: 14.534 discountType: ABSOLUTE origin: INTERNAL - id: buy-2-get-1-free value: 280 price: netValue: 235.294 grossValue: 280 taxValue: 44.706 taxCode: STANDARD taxRate: 19 discountType: PERCENT origin: EXTERNAL finalPrice: netValue: 436.288 grossValue: 501.829 taxValue: 65.541 taxAggregate: lines: - netValue: 144.618 grossValue: 154.741 taxValue: 10.123 taxCode: REDUCED taxRate: 7 - netValue: 291.67 grossValue: 347.088 taxValue: 55.418 taxCode: STANDARD taxRate: 19 orderUpdate: value: status: IN_CHECKOUT entries: - id: BC10033--BC10033-43 itemYrn: 'urn:yaas:saasag:caasproduct:product:test;BC10033--BC10033-43' amount: 3 orderedAmount: 3 effectiveQuantity: 3 calculatedUnitPrice: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 product: metadata: mixins: productTemplateAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-templateAttributes_v1.json' productVariantAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-variantAttributes_v1.json' id: BC10033--BC10033-43 sku: '8033546091234' name: 'Safety shoes high Reptile RS S3 SRC, black' localizedName: de: 'Hohe Sicherheitsschuhe Reptile RS S3 SRC, schwarz' en: 'Safety shoes high Reptile RS S3 SRC, black' description: '[de:Sicherheitsstiefel, klassisch und robust, U-Power Style&Job Linie, Obermaterial aus wasserabweisendem, bedrucktem Leder, Stahlkappe, Durchtrittsicherheit, rutschfest, ergonomisches Inox Laminat und PU/PU Sohle, RS S3 SRC., en:Safety shoes high, U-Power, classic and strong of the "Style & Job" range, with water repellent printed leather upper, steel toe cap, anti-puncture, anti-slip, ergonomic steel foil and PU / PU sole, RS S3 SRC.]' published: true images: - id: 6437eb7f8fc03d22f4e856ce url: 'http://res.cloudinary.com/saas-ag/image/upload/v1681386368/test/media/6437eb7f8fc03d22f4e856ce' stored: false mixins: productVariantAttributes: size: 43 productType: VARIANT price: priceId: 6763cd21139f370cd9244d37 currency: EUR originalAmount: 100 effectiveAmount: 100 basePrice: {} presentationPrice: {} metadata: createdAt: '2024-12-19T07:37:05.559Z' modifiedAt: '2024-12-19T07:37:05.559Z' version: 1 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 finalPrice: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 priceMatchDetails: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 taxCountry: DE discounts: [] customer: id: '61443563' name: Test name firstName: John lastName: Smith company: Emporix email: test@test.com siteCode: DE countryCode: DE billingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE shippingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE payments: - status: PENDING method: invoice paymentResponse: Payment is handled externally paidAmount: 0 currency: EUR transactionId: fcc2bf50-f064-4dc3-833f-0909a7857387 authorizedAmount: 373.12 provider: payment-gateway totalAuthorizedAmount: 373.12 currency: EUR metadata: mixins: payments: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' deliveryTime: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/deliveryTimeMixIn.v2.json' generalAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/orderGeneralAttributesMixIn.v9.json' payment: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/paymentMixIn.v3.json' version: 1 mixins: payments: elements: - paymentMethodYrn: 'urn:yaas:hybris:payments:payment-method:test;invoice' fees: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 0 totalTax: 0 total: 0 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 deliveryTime: deliveryTimeId: 64e36da5814eba1635228dfe deliveryDate: '2025-02-07T11:00:00.000Z' deliveryTimeFrom: '10:00' deliveryTimeTo: '14:30' deliveryTimeZoneId: deliveryarea deliveryTimeMethodId: pickup deliveryCosts: 35 generalAttributes: extendedOrderStatus: '05' customerFirstOrder: false orderNumber: EON2076 payment: paymentType: invoice deliveryWindow: id: 64e36da5814eba1635228dfe slotId: c291c677-5460-4efb-b893-145c866a2af2 deliveryDate: '2025-02-07' deliveryCycle: 2025-02-07-15pickupFriday1000-1430 deliveryCycleName: pickupFriday1000-1430 deliveryTimeRange: timeFrom: '10:00' timeTo: '14:30' calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 paymentFees: - id: 678f552a949c723de46bdb14 type: PERCENT name: de: Payment fee en: Payment fee price: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalFee: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalShipping: netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 finalPrice: netValue: 368.5 grossValue: 433.72 taxValue: 65.22 taxAggregate: lines: - netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 - netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 - netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 channel: {} orders: value: - status: IN_CHECKOUT entries: - id: BC10033--BC10033-43 itemYrn: 'urn:yaas:saasag:caasproduct:product:test;BC10033--BC10033-43' amount: 3 orderedAmount: 3 effectiveQuantity: 3 originalAmount: 100 originalPrice: 100 unitPrice: 100 calculatedUnitPrice: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 totalPrice: 300 authorizedAmount: 300 product: metadata: mixins: productTemplateAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-templateAttributes_v1.json' productVariantAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-variantAttributes_v1.json' id: BC10033--BC10033-43 sku: '8033546091234' name: 'Safety shoes high Reptile RS S3 SRC, black' localizedName: de: 'Hohe Sicherheitsschuhe Reptile RS S3 SRC, schwarz' en: 'Safety shoes high Reptile RS S3 SRC, black' description: '[de:Sicherheitsstiefel, klassisch und robust, U-Power Style&Job Linie, Obermaterial aus wasserabweisendem, bedrucktem Leder, Stahlkappe, Durchtrittsicherheit, rutschfest, ergonomisches Inox Laminat und PU/PU Sohle, RS S3 SRC., en:Safety shoes high, U-Power, classic and strong of the "Style & Job" range, with water repellent printed leather upper, steel toe cap, anti-puncture, anti-slip, ergonomic steel foil and PU / PU sole, RS S3 SRC.]' published: true images: - id: 6437eb7f8fc03d22f4e856ce url: 'http://res.cloudinary.com/saas-ag/image/upload/v1681386368/test/media/6437eb7f8fc03d22f4e856ce' stored: false mixins: productVariantAttributes: size: 43 productType: VARIANT tax: lines: - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 0 inclusive: false total: amount: 0 currency: EUR inclusive: false price: priceId: 6763cd21139f370cd9244d37 currency: EUR originalAmount: 100 effectiveAmount: 100 basePrice: {} presentationPrice: {} metadata: createdAt: '2024-12-19T07:37:05.559Z' modifiedAt: '2024-12-19T07:37:05.559Z' version: 1 totalDiscount: amount: 0 currency: EUR fees: total: subTotal: 0 totalTax: 0 total: 0 metadata: mixins: fees: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' mixins: fees: total: subTotal: 0 totalTax: 0 total: 0 discount: 0 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 finalPrice: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 priceMatchDetails: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 taxCountry: DE discounts: [] customer: id: '61443563' name: Test name firstName: John lastName: Smith company: Emporix email: test@test.com siteCode: DE countryCode: DE billingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE shippingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE payments: - status: PENDING method: invoice paymentResponse: Payment is handled externally paidAmount: 0 currency: EUR transactionId: fcc2bf50-f064-4dc3-833f-0909a7857387 authorizedAmount: 373.12 provider: payment-gateway shipping: total: amount: 39.2 currency: EUR lines: - amount: 35 currency: EUR code: pickup name: pickup localizedName: en: pickup de: pickup tax: total: amount: 4.2 currency: EUR inclusive: false rate: 12 shippingTaxCode: REDUCED tax: lines: - amount: 4.2 currency: EUR code: REDUCED name: REDUCED rate: 12 sequenceId: 0 inclusive: false - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 1 inclusive: false total: amount: 0 currency: EUR inclusive: false subTotalPrice: 300 totalPrice: 333.92 totalAuthorizedAmount: 373.12 currency: EUR metadata: mixins: payments: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' deliveryTime: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/deliveryTimeMixIn.v2.json' generalAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/orderGeneralAttributesMixIn.v9.json' payment: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/paymentMixIn.v3.json' version: 1 mixins: payments: elements: - paymentMethodYrn: 'urn:yaas:hybris:payments:payment-method:test;invoice' fees: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 0 totalTax: 0 total: 0 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 deliveryTime: deliveryTimeId: 64e36da5814eba1635228dfe deliveryDate: '2025-02-07T11:00:00.000Z' deliveryTimeFrom: '10:00' deliveryTimeTo: '14:30' deliveryTimeZoneId: deliveryarea deliveryTimeMethodId: pickup deliveryCosts: 35 generalAttributes: extendedOrderStatus: '05' customerFirstOrder: false orderNumber: EON2076 payment: paymentType: invoice deliveryWindow: id: 64e36da5814eba1635228dfe slotId: c291c677-5460-4efb-b893-145c866a2af2 deliveryDate: '2025-02-07' deliveryCycle: 2025-02-07-15pickupFriday1000-1430 deliveryCycleName: pickupFriday1000-1430 deliveryTimeRange: timeFrom: '10:00' timeTo: '14:30' feeYrnAggregate: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 total: subTotal: 33.92 totalTax: 0 total: 33.92 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 paymentFees: - id: 678f552a949c723de46bdb14 type: PERCENT name: de: Payment fee en: Payment fee price: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalFee: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalShipping: netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 finalPrice: netValue: 368.5 grossValue: 433.72 taxValue: 65.22 taxAggregate: lines: - netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 - netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 - netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 channel: {} created: '2025-01-30T13:45:34.406Z' lastStatusChange: '2025-01-30T13:45:34.406Z' id: EON2076 createdBy: '61443563' - status: IN_CHECKOUT entries: - id: BC10033--BC10033-43 itemYrn: 'urn:yaas:saasag:caasproduct:product:test;BC10033--BC10033-43' amount: 3 orderedAmount: 3 effectiveQuantity: 3 originalAmount: 100 originalPrice: 100 unitPrice: 100 totalPrice: 300 authorizedAmount: 300 product: metadata: mixins: productTemplateAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-templateAttributes_v1.json' productVariantAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-variantAttributes_v1.json' id: BC10033--BC10033-43 sku: '8033546091234' name: 'Safety shoes high Reptile RS S3 SRC, black' localizedName: de: 'Hohe Sicherheitsschuhe Reptile RS S3 SRC, schwarz' en: 'Safety shoes high Reptile RS S3 SRC, black' description: '[de:Sicherheitsstiefel, klassisch und robust, U-Power Style&Job Linie, Obermaterial aus wasserabweisendem, bedrucktem Leder, Stahlkappe, Durchtrittsicherheit, rutschfest, ergonomisches Inox Laminat und PU/PU Sohle, RS S3 SRC., en:Safety shoes high, U-Power, classic and strong of the "Style & Job" range, with water repellent printed leather upper, steel toe cap, anti-puncture, anti-slip, ergonomic steel foil and PU / PU sole, RS S3 SRC.]' published: true images: - id: 6437eb7f8fc03d22f4e856ce url: 'http://res.cloudinary.com/saas-ag/image/upload/v1681386368/test/media/6437eb7f8fc03d22f4e856ce' stored: false mixins: productVariantAttributes: size: 43 productType: VARIANT tax: lines: - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 0 inclusive: false total: amount: 0 currency: EUR inclusive: false price: priceId: 6763cd21139f370cd9244d37 currency: EUR originalAmount: 100 effectiveAmount: 100 basePrice: {} presentationPrice: {} metadata: createdAt: '2024-12-19T07:37:05.559Z' modifiedAt: '2024-12-19T07:37:05.559Z' version: 1 totalDiscount: amount: 0 currency: EUR fees: total: subTotal: 0 totalTax: 0 total: 0 metadata: mixins: fees: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' mixins: fees: total: subTotal: 0 totalTax: 0 total: 0 discount: 0 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 finalPrice: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 priceMatchDetails: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 taxCountry: DE discounts: [] customer: id: '61443563' name: Test name firstName: John lastName: Smith company: Emporix email: test@test.com siteCode: DE countryCode: DE billingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE shippingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE payments: - status: PENDING method: invoice paymentResponse: Payment is handled externally paidAmount: 0 currency: EUR transactionId: fcc2bf50-f064-4dc3-833f-0909a7857387 authorizedAmount: 373.12 provider: payment-gateway shipping: total: amount: 39.2 currency: EUR lines: - amount: 35 currency: EUR code: pickup name: pickup localizedName: en: pickup de: pickup tax: total: amount: 4.2 currency: EUR inclusive: false rate: 12 shippingTaxCode: REDUCED tax: lines: - amount: 4.2 currency: EUR code: REDUCED name: REDUCED rate: 12 sequenceId: 0 inclusive: false - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 1 inclusive: false total: amount: 0 currency: EUR inclusive: false subTotalPrice: 300 totalPrice: 333.92 totalAuthorizedAmount: 373.12 currency: EUR metadata: mixins: payments: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' deliveryTime: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/deliveryTimeMixIn.v2.json' generalAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/orderGeneralAttributesMixIn.v9.json' payment: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/paymentMixIn.v3.json' version: 1 mixins: payments: elements: - paymentMethodYrn: 'urn:yaas:hybris:payments:payment-method:test;invoice' fees: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 0 totalTax: 0 total: 0 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 deliveryTime: deliveryTimeId: 64e36da5814eba1635228dfe deliveryDate: '2025-02-07T11:00:00.000Z' deliveryTimeFrom: '10:00' deliveryTimeTo: '14:30' deliveryTimeZoneId: deliveryarea deliveryTimeMethodId: pickup deliveryCosts: 35 generalAttributes: extendedOrderStatus: '05' customerFirstOrder: false orderNumber: EON2076 payment: paymentType: invoice deliveryWindow: id: 64e36da5814eba1635228dfe slotId: c291c677-5460-4efb-b893-145c866a2af2 deliveryDate: '2025-02-07' deliveryCycle: 2025-02-07-15pickupFriday1000-1430 deliveryCycleName: pickupFriday1000-1430 deliveryTimeRange: timeFrom: '10:00' timeTo: '14:30' feeYrnAggregate: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 total: subTotal: 33.92 totalTax: 0 total: 33.92 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 paymentFees: - id: 678f552a949c723de46bdb14 type: PERCENT name: de: Payment fee en: Payment fee price: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalFee: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalShipping: netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 finalPrice: netValue: 368.5 grossValue: 433.72 taxValue: 65.22 taxAggregate: lines: - netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 - netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 - netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 channel: {} created: '2025-01-30T13:45:34.406Z' lastStatusChange: '2025-01-30T13:45:34.406Z' id: EON2076 createdBy: '61443563' - status: IN_CHECKOUT entries: - id: BC10033--BC10033-43 itemYrn: 'urn:yaas:saasag:caasproduct:product:test;BC10033--BC10033-43' amount: 3 orderedAmount: 3 effectiveQuantity: 3 originalAmount: 100 originalPrice: 100 unitPrice: 100 totalPrice: 300 authorizedAmount: 300 product: metadata: mixins: productTemplateAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-templateAttributes_v1.json' productVariantAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-variantAttributes_v1.json' id: BC10033--BC10033-43 sku: '8033546091234' name: 'Safety shoes high Reptile RS S3 SRC, black' localizedName: de: 'Hohe Sicherheitsschuhe Reptile RS S3 SRC, schwarz' en: 'Safety shoes high Reptile RS S3 SRC, black' description: '[de:Sicherheitsstiefel, klassisch und robust, U-Power Style&Job Linie, Obermaterial aus wasserabweisendem, bedrucktem Leder, Stahlkappe, Durchtrittsicherheit, rutschfest, ergonomisches Inox Laminat und PU/PU Sohle, RS S3 SRC., en:Safety shoes high, U-Power, classic and strong of the "Style & Job" range, with water repellent printed leather upper, steel toe cap, anti-puncture, anti-slip, ergonomic steel foil and PU / PU sole, RS S3 SRC.]' published: true images: - id: 6437eb7f8fc03d22f4e856ce url: 'http://res.cloudinary.com/saas-ag/image/upload/v1681386368/test/media/6437eb7f8fc03d22f4e856ce' stored: false mixins: productVariantAttributes: size: 43 productType: VARIANT tax: lines: - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 0 inclusive: false total: amount: 0 currency: EUR inclusive: false price: priceId: 6763cd21139f370cd9244d37 currency: EUR originalAmount: 100 effectiveAmount: 100 basePrice: {} presentationPrice: {} metadata: createdAt: '2024-12-19T07:37:05.559Z' modifiedAt: '2024-12-19T07:37:05.559Z' version: 1 totalDiscount: amount: 0 currency: EUR fees: total: subTotal: 0 totalTax: 0 total: 0 metadata: mixins: fees: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' mixins: fees: total: subTotal: 0 totalTax: 0 total: 0 discount: 0 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 finalPrice: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 priceMatchDetails: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 taxCountry: DE discounts: [] customer: id: '61443563' name: Test name firstName: John lastName: Smith company: Emporix email: test@test.com siteCode: DE countryCode: DE billingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE shippingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE payments: - status: PENDING method: invoice paymentResponse: Payment is handled externally paidAmount: 0 currency: EUR transactionId: fcc2bf50-f064-4dc3-833f-0909a7857387 authorizedAmount: 373.12 provider: payment-gateway shipping: total: amount: 39.2 currency: EUR lines: - amount: 35 currency: EUR code: pickup name: pickup localizedName: en: pickup de: pickup tax: total: amount: 4.2 currency: EUR inclusive: false rate: 12 shippingTaxCode: REDUCED tax: lines: - amount: 4.2 currency: EUR code: REDUCED name: REDUCED rate: 12 sequenceId: 0 inclusive: false - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 1 inclusive: false total: amount: 0 currency: EUR inclusive: false subTotalPrice: 300 totalPrice: 333.92 totalAuthorizedAmount: 373.12 currency: EUR metadata: mixins: payments: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' deliveryTime: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/deliveryTimeMixIn.v2.json' generalAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/orderGeneralAttributesMixIn.v9.json' payment: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/paymentMixIn.v3.json' version: 1 mixins: payments: elements: - paymentMethodYrn: 'urn:yaas:hybris:payments:payment-method:test;invoice' fees: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 0 totalTax: 0 total: 0 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 deliveryTime: deliveryTimeId: 64e36da5814eba1635228dfe deliveryDate: '2025-02-07T11:00:00.000Z' deliveryTimeFrom: '10:00' deliveryTimeTo: '14:30' deliveryTimeZoneId: deliveryarea deliveryTimeMethodId: pickup deliveryCosts: 35 generalAttributes: extendedOrderStatus: '05' customerFirstOrder: false orderNumber: EON2076 payment: paymentType: invoice deliveryWindow: id: 64e36da5814eba1635228dfe slotId: c291c677-5460-4efb-b893-145c866a2af2 deliveryDate: '2025-02-07' deliveryCycle: 2025-02-07-15pickupFriday1000-1430 deliveryCycleName: pickupFriday1000-1430 deliveryTimeRange: timeFrom: '10:00' timeTo: '14:30' feeYrnAggregate: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 total: subTotal: 33.92 totalTax: 0 total: 33.92 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 paymentFees: - id: 678f552a949c723de46bdb14 type: PERCENT name: de: Payment fee en: Payment fee price: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalFee: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalShipping: netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 finalPrice: netValue: 368.5 grossValue: 433.72 taxValue: 65.22 taxAggregate: lines: - netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 - netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 - netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 channel: {} created: '2025-01-30T13:45:34.406Z' lastStatusChange: '2025-01-30T13:45:34.406Z' id: EON2076 createdBy: '61443563' order: value: status: IN_CHECKOUT entries: - id: BC10033--BC10033-43 itemYrn: 'urn:yaas:saasag:caasproduct:product:test;BC10033--BC10033-43' amount: 3 orderedAmount: 3 effectiveQuantity: 3 originalAmount: 100 originalPrice: 100 unitPrice: 100 calculatedUnitPrice: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 totalPrice: 300 authorizedAmount: 300 product: metadata: mixins: productTemplateAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-templateAttributes_v1.json' productVariantAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/63ec98500522b25c90b9e632-variantAttributes_v1.json' id: BC10033--BC10033-43 sku: '8033546091234' name: 'Safety shoes high Reptile RS S3 SRC, black' localizedName: de: 'Hohe Sicherheitsschuhe Reptile RS S3 SRC, schwarz' en: 'Safety shoes high Reptile RS S3 SRC, black' description: '[de:Sicherheitsstiefel, klassisch und robust, U-Power Style&Job Linie, Obermaterial aus wasserabweisendem, bedrucktem Leder, Stahlkappe, Durchtrittsicherheit, rutschfest, ergonomisches Inox Laminat und PU/PU Sohle, RS S3 SRC., en:Safety shoes high, U-Power, classic and strong of the "Style & Job" range, with water repellent printed leather upper, steel toe cap, anti-puncture, anti-slip, ergonomic steel foil and PU / PU sole, RS S3 SRC.]' published: true images: - id: 6437eb7f8fc03d22f4e856ce url: 'http://res.cloudinary.com/saas-ag/image/upload/v1681386368/test/media/6437eb7f8fc03d22f4e856ce' stored: false mixins: productVariantAttributes: size: 43 productType: VARIANT tax: lines: - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 0 inclusive: false total: amount: 0 currency: EUR inclusive: false price: priceId: 6763cd21139f370cd9244d37 currency: EUR originalAmount: 100 effectiveAmount: 100 basePrice: {} presentationPrice: {} metadata: createdAt: '2024-12-19T07:37:05.559Z' modifiedAt: '2024-12-19T07:37:05.559Z' version: 1 totalDiscount: amount: 0 currency: EUR fees: total: subTotal: 0 totalTax: 0 total: 0 metadata: mixins: fees: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' mixins: fees: total: subTotal: 0 totalTax: 0 total: 0 discount: 0 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 finalPrice: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 priceMatchDetails: netValue: 100 grossValue: 119 taxValue: 19 taxCode: STANDARD taxRate: 19 taxCountry: DE discounts: [] customer: id: '61443563' name: Test name firstName: John lastName: Smith company: Emporix email: test@test.com siteCode: DE countryCode: DE billingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE shippingAddress: contactName: Templatecompany companyName: Templatecompany street: Strasse 1 streetNumber: '' zipCode: '12221' city: Berlin country: DE state: DE payments: - status: PENDING method: invoice paymentResponse: Payment is handled externally paidAmount: 0 currency: EUR transactionId: fcc2bf50-f064-4dc3-833f-0909a7857387 authorizedAmount: 373.12 provider: payment-gateway shipping: total: amount: 39.2 currency: EUR lines: - amount: 35 currency: EUR code: pickup name: pickup localizedName: en: pickup de: pickup tax: total: amount: 4.2 currency: EUR inclusive: false rate: 12 shippingTaxCode: REDUCED tax: lines: - amount: 4.2 currency: EUR code: REDUCED name: REDUCED rate: 12 sequenceId: 0 inclusive: false - amount: 57 currency: EUR code: STANDARD name: STANDARD rate: 19 sequenceId: 1 inclusive: false total: amount: 0 currency: EUR inclusive: false subTotalPrice: 300 totalPrice: 333.92 totalAuthorizedAmount: 373.12 currency: EUR metadata: mixins: payments: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/fees_checkout-mashup.json' deliveryTime: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/deliveryTimeMixIn.v2.json' generalAttributes: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/orderGeneralAttributesMixIn.v9.json' payment: 'https://res.cloudinary.com/saas-ag/raw/upload/emporix-docs/paymentMixIn.v3.json' version: 1 mixins: payments: elements: - paymentMethodYrn: 'urn:yaas:hybris:payments:payment-method:test;invoice' fees: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 0 totalTax: 0 total: 0 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 total: subTotal: 33.92 totalTax: 0 total: 33.92 discount: 0 deliveryTime: deliveryTimeId: 64e36da5814eba1635228dfe deliveryDate: '2025-02-07T11:00:00.000Z' deliveryTimeFrom: '10:00' deliveryTimeTo: '14:30' deliveryTimeZoneId: deliveryarea deliveryTimeMethodId: pickup deliveryCosts: 35 generalAttributes: extendedOrderStatus: '05' customerFirstOrder: false orderNumber: EON2076 payment: paymentType: invoice deliveryWindow: id: 64e36da5814eba1635228dfe slotId: c291c677-5460-4efb-b893-145c866a2af2 deliveryDate: '2025-02-07' deliveryCycle: 2025-02-07-15pickupFriday1000-1430 deliveryCycleName: pickupFriday1000-1430 deliveryTimeRange: timeFrom: '10:00' timeTo: '14:30' feeYrnAggregate: elements: - yrn: 'urn:yaas:saasag:fee:fee:test;678f552a949c723de46bdb14' name: de: Payment fee en: Payment fee taxCode: REDUCED total: subTotal: 33.92 totalTax: 0 total: 33.92 total: subTotal: 33.92 totalTax: 0 total: 33.92 calculatedPrice: price: netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 paymentFees: - id: 678f552a949c723de46bdb14 type: PERCENT name: de: Payment fee en: Payment fee price: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalFee: netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 totalShipping: netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 finalPrice: netValue: 368.5 grossValue: 433.72 taxValue: 65.22 taxAggregate: lines: - netValue: 33.5 grossValue: 37.52 taxValue: 4.02 taxCode: REDUCED taxRate: 12 - netValue: 300 grossValue: 357 taxValue: 57 taxCode: STANDARD taxRate: 19 - netValue: 35 grossValue: 39.2 taxValue: 4.2 taxCode: REDUCED taxRate: 12 channel: {} created: '2025-01-30T13:45:34.406Z' lastStatusChange: '2025-01-30T13:45:34.406Z' id: EON2076 createdBy: '61443563' resourceLocation: value: id: '1234546' transition: value: status: DECLINED transitions: value: - status: CONFIRMED orderCalculation: value: entries: - entryId: 5c336893a981210009900071 deliveredAmount: 10 - entryId: 5c336893a981210009900072 deliveredAmount: 1000 unit: GRM requestBodies: {} headers: {} securitySchemes: CustomerAccessToken: type: http scheme: bearer description: | Customer access token. OAuth2: type: oauth2 flows: clientCredentials: tokenUrl: 'https://api.emporix.io/oauth/token' scopes: order.order_post: Needed to create new order as a customer. order.order_read: Needed to read order. order.order_read_le: Needed to read legal entity orders. order.order_update: Needed to update an order. order.order_update_completed: Needed to update an order with a `completed` status. order.order_create: Needed to create new order by merchant. order.order_delete: Needed to delete an order. order.history_view: Needed to view order when logged as a customer. order.order_readascustomer: Needed to read an order as a customer. order.order_updateascustomer: Needed to update an order as a customer. order.order_read_by_vendor: The scope allows vendor to read order with assigned vendor. order.order_manage_by_vendor: The scope allows vendor to manage order with assigned vendor. links: {} callbacks: {} security: - OAuth2: []