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
Key | Datatype | Required | Description |
---|---|---|---|
sessionId | string | sessionId |
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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string |
RESPONSES
status: OK
{"orderId":123456789}