Example be.open API
  1. Order
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
    • change option settings just for this service provider
    • change attribute category setting just for this service provider
    • /api/serviceproviders/{serviceproviderId}/orders
    • /api/serviceproviders/{serviceproviderId}/orders/{orderId}
    • /api/serviceproviders/{serviceproviderId}/orders/{orderId}
  • Order
    • create an order
      POST
    • create order with upload
      POST
    • get order
      GET
  • Dashboard API (MOVE TO ANOTHER PROJECT)!
    • Customer
      • whoAmI
      • addExternalClient
    • Orders
      • create order
      • update order
      • update order cart
  1. Order

create order with upload

Developing
POST
/api/orders/uploads
the parameter data contains the information to create an order. It is a json string as shown in the description of data

Request

Body Params multipart/form-data

Responses

🟢200Success
application/json
Body

Example
{
    "jsonapi": {
        "version": "string"
    },
    "data": {
        "type": "string",
        "id": "string",
        "attributes": {
            "client": {
                "type": "string",
                "id": "string",
                "attributes": {
                    "name": "string"
                }
            },
            "reference": "string",
            "details": [
                {
                    "type": "string",
                    "id": "string",
                    "attributes": {
                        "product_type": "string",
                        "partial_deliveries": [
                            "string"
                        ],
                        "sku": "string",
                        "price": null,
                        "remoteReference": null,
                        "order_combination": {
                            "type": "string",
                            "attributes": {
                                "attribute_options": [
                                    {
                                        "type": "string",
                                        "id": 0,
                                        "attributes": {
                                            "attribute_id": "string",
                                            "external_attribute_id": "string",
                                            "option_id": "string",
                                            "external_option_id": "string"
                                        }
                                    }
                                ]
                            }
                        },
                        "page_information": {
                            "type": "string",
                            "id": "string",
                            "attributes": {
                                "copies": 0,
                                "pages": 0,
                                "color_pages": 0
                            }
                        },
                        "state": "string",
                        "trackingData": null,
                        "reference": "string",
                        "created_at": "string",
                        "updated_at": "string"
                    },
                    "relationships": {
                        "files": {
                            "data": [
                                {
                                    "type": "string",
                                    "id": "string"
                                }
                            ]
                        },
                        "sender_address": {
                            "data": {
                                "type": "string",
                                "id": "string"
                            }
                        },
                        "delivery_address": {
                            "data": {
                                "type": "string",
                                "id": "string"
                            }
                        },
                        "invoice_address": {
                            "data": {
                                "type": "string",
                                "id": "string"
                            }
                        }
                    }
                }
            ],
            "order_custom_fields": [
                "string"
            ],
            "files": [
                "string"
            ],
            "order-uploads": [
                "string"
            ],
            "state": "string",
            "currency": "string",
            "created_at": "string",
            "updated_at": "string"
        }
    },
    "included": [
        {
            "type": "string",
            "id": "string",
            "attributes": {
                "first_name": "string",
                "last_name": "string",
                "salutation": null,
                "company": "string",
                "street": "string",
                "house_number": "string",
                "additional_line": null,
                "zip_code": "string",
                "city": "string",
                "country": "string",
                "email": null,
                "phone": "string",
                "comment": "string",
                "vat_number": null
            }
        }
    ]
}
Modified at 2024-06-21 08:04:13
Previous
create an order
Next
get order
Built with