Example be.open API
  1. Basket
Example be.open API
  • be.open API
  • Auth
    • Get api auth token
      POST
  • Attributes & Options
    • get all available attributes
      GET
    • add or update an attribute
      POST
    • get an attribute
      GET
    • adds or updates an option
      POST
    • get attribute categories
      GET
    • get options of a type
      POST
  • Basket
    • get Basket
      POST
  • Price
    • get Price list
      POST
  • Categories
    • get product categories
      GET
    • Returns the products of a category.
      GET
  • Products & Combinations
    • get product configuration
      POST
    • get option configuration
      POST
    • get product attributes
      GET
    • get product independant attributes
      GET
    • Returns the products.
      GET
    • adds or updates a product with attributes, options and combinations.
      POST
    • Returns the single product.
      GET
    • adds or updates attributes, options and combinations of a product. Used to import combinations in parts
      POST
    • delete combinations.
      DELETE
    • get country attribute with options
      GET
  • Serviceprovider
    • change attribute settings just for this service provider
      PATCH
    • change option settings just for this service provider
      PATCH
    • change attribute category setting just for this service provider
      PATCH
    • /api/serviceproviders/{serviceproviderId}/orders
      GET
    • /api/serviceproviders/{serviceproviderId}/orders/{orderId}
      GET
    • /api/serviceproviders/{serviceproviderId}/orders/{orderId}
      PATCH
  • Order
    • create an order
    • create order with upload
    • get order
  • Dashboard API (MOVE TO ANOTHER PROJECT)!
    • Customer
      • whoAmI
      • addExternalClient
    • Orders
      • create order
      • update order
      • update order cart
  1. Basket

get Basket

Developing
POST
/api/basket
returns price and delivery date for configurations

Request

Body Params application/json

Example
{
    "delivery_address": {
        "first_name": "string",
        "last_name": "string",
        "street": "string",
        "house_number": "string",
        "zip_code": "string",
        "city": "string",
        "country": "string"
    },
    "currency": "string",
    "products": [
        {
            "sku": "string",
            "": "string"
        }
    ]
}

Responses

🟢200Success
application/json
Body

Example
{
    "jsonapi": {
        "version": "string"
    },
    "data": {
        "type": "string",
        "id": "string",
        "attributes": {
            "baskets": [
                {
                    "type": "string",
                    "id": "string",
                    "attributes": {
                        "serviceprovider": "string",
                        "products": [
                            {
                                "type": "string",
                                "id": "string",
                                "attributes": {
                                    "price": {
                                        "type": "string",
                                        "attributes": {
                                            "currency": "string",
                                            "price_net": 0,
                                            "price_gross": 0,
                                            "shipping_net": 0,
                                            "shipping_gross": 0,
                                            "price_fixed": null,
                                            "price_color": null,
                                            "price_copies": null,
                                            "price_total_copies_site": null,
                                            "price_discount_copies": null,
                                            "tax_rate": 0,
                                            "tax_value": 0,
                                            "shipping_tax_value": 0
                                        }
                                    },
                                    "delivery_date": "string",
                                    "deadline": "string"
                                }
                            }
                        ],
                        "price": {
                            "type": "string",
                            "id": "string",
                            "attributes": {
                                "currency": "string",
                                "price_net": 0,
                                "price_gross": 0,
                                "shipping_net": 0,
                                "shipping_gross": 0,
                                "price_fixed": null,
                                "price_color": null,
                                "price_copies": null,
                                "price_total_copies_site": null,
                                "price_discount_copies": null,
                                "tax_rate": 0,
                                "tax_value": 0,
                                "shipping_tax_value": 0
                            }
                        }
                    }
                }
            ],
            "delivery_address": {
                "type": "string",
                "id": "string",
                "attributes": {
                    "first_name": "string",
                    "last_name": "string",
                    "salutation": null,
                    "company": null,
                    "street": "string",
                    "house_number": "string",
                    "additional_line": null,
                    "zip_code": "string",
                    "city": "string",
                    "country": "string",
                    "email": null,
                    "phone": null,
                    "comment": null,
                    "vat_number": null
                }
            },
            "price": {
                "currency": "string",
                "price_net": 0,
                "price_gross": 0,
                "shipping_net": 0,
                "shipping_gross": 0,
                "price_fixed": null,
                "price_color": null,
                "price_copies": null,
                "price_total_copies_site": null,
                "price_discount_copies": null,
                "tax_rate": 0,
                "tax_value": 0,
                "shipping_tax_value": 0
            }
        }
    }
}
Modified at 2024-06-21 06:05:27
Previous
get options of a type
Next
get Price list
Built with