8- Create order from basket

POST {{baseUrl}}/contracting/basket/order?sessionId=334caa-1122-3344-5566-aabb12345

Possible errors: | HTTP code | Error code | Description | |------------------------------------|---------------------|----------------------------------------------------------| | ORDERING_IS_BLOCKED_FOR_CUSTOMER | 403 | Current customer is frozen and can not order anything | Required privileges (one of the following):

  • privilegesun-authorizedorderscreation
  • privilegesorders_authorization

Request Params

KeyDatatypeRequiredDescription
sessionIdstringsessionId

Request Body

{"address"=>{"city"=>"Dummy", "companyName"=>"Dummy", "country"=>"NL", "houseNumber"=>"Dummy", "postalCode"=>"1234AB", "street"=>"Dummy", "addressName"=>"Dummy", "attention"=>"Dummy", "floor"=>"", "location"=>"Dummy", "room"=>"s"}, "referenceNumber"=>"Activate physical Sim Card"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring

RESPONSES

status: OK

{"orderId":123456789}