1. Basket
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
        POST
    • 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
      • get order
    • 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. Basket

get Basket

POST
/api/basket
Returns the calculated basket — price, shipping, delivery date and deadline per service provider, plus a total price across all service-provider baskets. The body is validated server-side against a JSON Schema. Response is cached on the CDN for 1 hour (3600s) — re-querying right after a configuration change can therefore still return the previous price until the cache expires.

Request

Body Params application/json

Example
{
    "delivery_address": {
        "first_name": "Max",
        "last_name": "Mustermann",
        "street": "Beispielstraße",
        "house_number": "12a",
        "zip_code": "10115",
        "city": "Berlin",
        "country": "DE"
    },
    "currency": "EUR",
    "products": [
        {
            "sku": "06dc8c77-097e-4ed6-b225-d468e3c0f3f2",
            "copies": 100,
            "pages": 0,
            "color_pages": 0,
            "independent_options": []
        }
    ]
}

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "jsonapi": {
        "version": "1.0"
    },
    "data": {
        "type": "basket",
        "id": "b1b2b3b4-0000-0000-0000-000000000001",
        "attributes": {
            "baskets": [
                {
                    "serviceprovider": "Service Provider DE",
                    "products": [
                        {
                            "price": {
                                "net": 12.5,
                                "gross": 14.88,
                                "vat": 2.38,
                                "currency": "EUR"
                            },
                            "delivery_date": "2026-06-02",
                            "deadline": "2026-05-30T14:00:00+02:00",
                            "spine_width": 0
                        }
                    ],
                    "price": {
                        "net": 12.5,
                        "gross": 14.88,
                        "vat": 2.38,
                        "currency": "EUR"
                    }
                }
            ],
            "delivery_address": {
                "type": "addresses",
                "id": "addr-1",
                "attributes": {
                    "first_name": "Max",
                    "last_name": "Mustermann",
                    "street": "Beispielstraße",
                    "house_number": "12a",
                    "zip_code": "10115",
                    "city": "Berlin",
                    "country": "DE",
                    "salutation": null,
                    "company": null,
                    "additional_line": null,
                    "email": null,
                    "phone": null,
                    "comment": null,
                    "vat_number": null
                }
            },
            "price": {
                "net": 12.5,
                "gross": 14.88,
                "vat": 2.38,
                "currency": "EUR"
            }
        }
    }
}
Modified at 2026-05-29 10:44:16
Previous
returns options for an attribute type of a service provider
Next
get Price list
Built with