1. Order
Example be.open API
  • be.open API
    • be.open API
    • Samples
    • Auth
      • Get api auth token
    • Attributes & Options
      • attributes
        • get country options of a product
      • get all available attributes
      • create or update an attribute
      • get a single attribute by id
      • adds or updates an option
      • list attribute categories
      • returns options for an attribute type of a service provider
    • Basket
      • get Basket
    • Price
      • get Price list
    • Categories
      • get product categories
      • Returns the products of a category.
    • Products & Combinations
      • get product configuration
      • get option configuration
      • get product attributes
      • get product independent attributes
      • Returns the products.
      • adds or updates a product with attributes, options and combinations.
      • Returns the single product.
      • adds or updates attributes, options and combinations of a product. Used to import combinations in parts
      • delete combinations.
      • get country attribute with options
    • Serviceprovider
      • change attribute settings just for this service provider
      • change option settings just for this service provider
      • change attribute category setting just for this service provider
      • list orders for a service provider
      • get an order for a service provider
      • update order status from service provider
    • Order
      • create an order
        POST
      • get order
        GET
    • change attribute category setting just for this service provider
      PATCH
    • change attribute category setting just for this service provider
      PATCH
    • Schemas
      • Schemas
        • Attribute
        • AttributeCategory
        • CategoryModel
        • Product
        • BasicOrder
        • Order
        • Option
        • ProductMetaInformation
        • Client
        • OrderDetail
        • OrderCustomField
        • OrderFile
        • OrderUpload
        • File
        • PartialDelivery
        • OrderDetailFile
        • ProductCombination
        • Address
        • OrderDetailPrice
        • OrderDetailCombination
        • Address2
        • PriceConfiguration
        • Currency
        • ConfigurationOption
        • Price
        • ConfigurationOptionSize
      • Improved Schemas
        • ExampleAttributesCollection
        • Attribute
        • AttributeMetaData
        • Category
      • Responses
      • Custom Schemas
        • UpdateServiceproviderOrderResponse
      • AttributeOption
      • CreateProduct
      • QuantityShipping
      • QuantityDelivery
      • DeleteQuantityShipping
      • placedOrder
      • DeleteQuantityDelivery
      • Authentication
      • AuthenticationResponse
      • CreateAttribute
      • CreateOption
      • CreateProductCombination
      • DeleteProductCombination
      • ProductTypeData
      • DependableAttribute
      • ProductVariant
      • DeleteProductVariant
      • ServiceproviderOrderDetail
      • DependableOption
      • ProductQuantity
      • ProductAttribute
      • DeleteProductQuantity
      • OrderDetailPage
      • OptionOfAttribute
      • ProductResponse
      • LooseLeafData
      • AttributeResponse
      • OrderResponse
      • OrderDetailResponse
      • OrderAttributeOption
      • BasketPrice
      • OrderAddressResponse
      • CreateOrderAddress
      • CreateOrder
      • PatchServiceProviderOrder
      • JsonApi
      • PaginationMeta
      • PaginationLinks
      • AttributesListResponse
      • AttributeSingleResponse
      • OptionSingleResponse
      • AttributeResource
      • OptionIdentifier
      • AttributeCategoryEmbedded
      • AttributeCategoryResource
      • OptionResource
  • Druckshop API
    • Cart
      • getByJobNumber
    • Tracking
      • getByJobNumber
      • addTrackingId
    • Order
      • getOrder
      • getOrders
      • getOrderByReference
      • getOrderCart
    • FreeOrder
      • addFreeOrder
    • Schemas
      • FreeOrder
      • FreeOrderResponse
      • ApiAddress
      • FreeOrderPrice
      • FreeOrderCart
      • FreeOrderArticle
      • FreeOrderDataKeyValuePrice
  • be.print Dashboard API
    • PlacedOrder
      • Store a newly created placedOrder
      • Update an existing placedOrder
    • PlacedOrderCart
      • Store a newly created placedOrderCart
      • Update an existing placedOrderCart
    • Sso
      • sso.getTokenCheck
      • sso.setUserMapping
    • ValidateCustomerApi
      • validateCustomerApi.whoAmI
      • validateCustomerApi.postExternalClient
    • Dashboard API (MOVE TO ANOTHER PROJECT)!
      • Customer
        • whoAmI
        • addExternalClient
      • Orders
        • create order
        • update order
        • update order cart
    • Schemas
      • Schemas
        • AddExternalClientRequest
        • PlacedOrderCartRequest
        • PlacedOrderRequest
        • SsoExternalLinkRequest
        • SsoExternalUserMapping
      • Response
        • AuthenticationException
        • ValidationException
        • AuthorizationException
        • ModelNotFoundException
      • placedOrder
  1. Order

create an order

POST
/api/orders
Creates a new order or updates an existing one (by reference). Authentication: requires ROLE_API_ADMIN. The request body is validated server-side against a JSON Schema. Status code on success is 201 Created, not 200. Update semantic: if an order with the same reference already exists in state dispatch_failed, it is updated instead of creating a new one. With ?forceTransfer=1, any existing order with the same reference is updated regardless of state. After persisting, the order is dispatched to the service provider. If dispatch fails, the order is set to state dispatch_failed and the original exception is rethrown.

Request

Query Params

Body Params application/json

Example
{
    "reference": "shop-order-12345",
    "currency": "EUR",
    "details": [
        {
            "sku": "cfg-uuid-1111",
            "product_id": "p1111111-1111-1111-1111-111111111111",
            "reference": "cart-item-1",
            "sender_address": {
                "first_name": "Shop",
                "last_name": "GmbH",
                "street": "Senderstr.",
                "house_number": "1",
                "zip_code": "10115",
                "city": "Berlin",
                "country": "DE"
            },
            "invoice_address": {
                "first_name": "Max",
                "last_name": "Mustermann",
                "street": "Rechnungstr.",
                "house_number": "12",
                "zip_code": "10115",
                "city": "Berlin",
                "country": "DE"
            },
            "delivery_address": {
                "first_name": "Max",
                "last_name": "Mustermann",
                "street": "Beispielstr.",
                "house_number": "12a",
                "zip_code": "10115",
                "city": "Berlin",
                "country": "DE"
            },
            "files": [],
            "order_combination": {
                "data": {
                    "color": "red",
                    "format": "din-a4"
                }
            }
        }
    ]
}

Responses

🟢201Success
application/json
Order was created (or updated).
Bodyapplication/json

Example
{
    "jsonapi": {
        "version": "1.0"
    },
    "data": {
        "type": "orders",
        "id": "ord-uuid-1111",
        "attributes": {
            "reference": "shop-order-12345",
            "currency": "EUR",
            "status": "new",
            "created_at": "2026-05-27T10:00:00+02:00"
        }
    }
}
🟠401
🟠422
Modified at 2026-05-29 10:44:16
Previous
update order status from service provider
Next
get order
Built with