POST Booking/AddShippingSlot
Creates a reciproque bound between two ShippingSlots.
Request Information
URI Parameters
None.
Body Parameters
AddShippingSlotBinding| Name | Description | Type | Additional information |
|---|---|---|---|
| WarehouseID | integer |
None. |
|
| Start | date |
None. |
|
| End | date |
None. |
|
| CustomerPickup |
If false, delivery service |
boolean |
None. |
| Capacity |
= BookingConfiguration.Capacity in the moment of creation |
integer |
None. |
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"WarehouseID": 1,
"Start": "2025-12-06T05:42:40.4666666+01:00",
"End": "2025-12-06T05:42:40.4666666+01:00",
"CustomerPickup": true,
"Capacity": 5,
"Lang": "sample string 6",
"StoreID": 7
}
application/xml, text/xml
Sample:
<AddShippingSlotBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Booking"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 6</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">7</StoreID> <Capacity>5</Capacity> <CustomerPickup>true</CustomerPickup> <End>2025-12-06T05:42:40.4666666+01:00</End> <Start>2025-12-06T05:42:40.4666666+01:00</Start> <WarehouseID>1</WarehouseID> </AddShippingSlotBinding>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.