fulfillmenttools
API documentationIncident ManagementFeedback
Developer Docs
Developer Docs
  • Developer docs
  • Getting Started
    • Quickstart
    • Integration tutorial
      • Adding facilities
      • Adding listings to facilities
      • Configuring stocks
      • Carrier configuration
      • Placing orders
      • Checkout options
      • Distributed Order Management System (Routing)
      • Local fulfillment configuration
    • Free trial
  • Technical Basics
    • Access to fulfillmenttools
    • Feature status
    • Available regions
    • Backup policies
  • Connecting to fulfillmenttools
    • Client SDKs
    • commercetools connect
    • OpenID connect
      • Configure Microsoft Entra ID / Azure Active Directory
      • Configure Keycloak
  • API
    • Core concepts
      • Authentication & authorization
      • API Versioning & lifecycle
      • Assign user to jobs
      • Localization
      • Resource timestamps
      • Custom attributes
      • Article attributes
      • Recordable attributes
      • Data update guarantees
      • Rate limits & scaling
      • Retries
      • Performance on test vs. production systems
      • Load testing
    • API calls
      • Postman
      • cURL
      • GraphQL Explorer
    • GraphQL API
    • RESTful API
      • Pagination interface
      • RapiDoc
      • OpenAPI 3.0 Spec
    • Eventing
      • Structure of an event
      • Available events
        • Event flows
      • Eventing example
      • Event export
  • Integration Guides
    • Basics
      • Article categories
      • Audits
      • Facilities
      • Facility groups
      • GDPR configuration
      • Listings
      • Remote configuration
      • Receipts
      • Search
      • Subscribe to events
      • Sticker
      • Stocks
      • Storage locations
      • Tags
      • Users
    • Channel inventory
    • Inbound process
    • Outbound stocks
    • Purchase order
    • Receipt
    • Routing strategy (context-based multi-config DOMS)
    • Show sticker to clients
    • Stow jobs
  • More Integration Guides
    • Carrier management
      • Introduction to carrier configuration
      • Required data when operating carriers
      • Adding & connecting carriers to facilities
      • Custom carrier
    • Configurations for order fulfillment
      • Picking configuration
      • Packing configuration
      • Handover configuration
      • Printing and document configuration
      • Packing container types
      • Parcel tag configuration
      • Headless order fulfillment
      • Short-pick reasons
      • External documents in order fulfillment
      • Service jobs
      • Load units
      • Running sequence
    • DOMS - distributed order management system (routing)
    • External actions
    • Interfacility transfer
    • Notifications
    • Orders
      • Place your first order
      • Ship-from-store orders
      • Click-and-collect orders
      • Locked orders
      • Order with custom services
      • Bundled items in an order
      • Order process status
    • Availability & promising
    • Returns
Powered by GitBook
On this page
Edit on GitHub
  1. More Integration Guides
  2. Orders

Bundled items in an order

Bundles items are not split when the DOMS would normally performing an order split.

Items can be bundled via the custom-service concept by adding items to a custom service and defining it as "bundled" within the order. The line items that should be bundled have to be a part of the orderLineItems within the order.

Example on how a bundling customService list might look like within an order
"customServices": [
      {
          "customServiceDefinition": {
              "isBundled": true
          },
          "articleItems": [
              {
                  "tenantArticleRef": "32168",
                  "quantity": 1
              },
              {
                  "tenantArticleRef": "31851",
                  "quantity": 1
              }
          ],
          "customServiceItems": []
      }
  ]
Example how an order might look like when it contains item bundles

Let's imagine you want to send two buquets of flowers to your friend Peter Parker. One with tulips and one with red roses, bundled with a bottle of champagne. Then your order might look like this:

{
  "orderDate": "2024-06-11T08:16:07.000+02:00",
  "consumer": {
      "email": "peter.parker@example.com",
      "addresses": [
          {
              "street": "Tunisstr.",
              "houseNumber": "13",
              "postalCode": "50667",
              "city": "Köln",
              "country": "DE",
              "salutation": "Herr",
              "firstName": "Peter",
              "lastName": "Partker"
          }
      ]
  },
  "tenantOrderId": "SOME-COOL-ORDER-ID",
  "status": "OPEN",
  "orderLineItems": [
      {
          "article": {
              "tenantArticleId": "32168",
              "title": "Flower Buquet - Red Roses"
          },
          "quantity": 1
      },
      {
          "article": {
              "tenantArticleId": "32169",
              "title": "Flower Buquet - Tulip Mix"
          },
          "quantity": 1
      },
      {
          "article": {
              "tenantArticleId": "31851",
              "title": "Champagne Bottle"
          },
          "quantity": 1
      }
  ],
  "paymentInfo": {
      "currency": "EUR"
  },
  "deliveryPreferences": {
      "targetTime": "2024-07-25T00:00:01.000Z",
      "shipping": {
          "serviceLevel": "DELIVERY"
      }
  },
  "customServices": [
      {
          "customServiceDefinition": {
              "isBundled": true
          },
          "articleItems": [
              {
                  "tenantArticleRef": "32168",
                  "quantity": 1
              },
              {
                  "tenantArticleRef": "31851",
                  "quantity": 1
              }
          ],
          "customServiceItems": []
      }
  ]
}

Last updated 5 months ago