Store Locations
Set the weekly default capacity for a store location
Configure the default weekly capacity schedule for a store location. Defines how many orders the location can handle per day of the week.
post/v1/set_store_location_default_capacity
Request
- Base URLhttps://api.sandbox.usenash.com
- Authnone declared
Request body
Example request
{
"storeLocationId": "stl_1234567890",
"defaultCapacity": {
"friday": {
"isActive": true,
"shiftCapacity": {
"00:00": 0,
"01:00": 0,
"02:00": 0,
"03:00": 0,
"04:00": 0,
"05:00": 0,
"06:00": 0,
"07:00": 0,
"08:00": 4,
"09:00": 4,
"10:00": 4,
"11:00": 4,
"12:00": 4,
"13:00": 4,
"14:00": 6,
"15:00": 6,
"16:00": 6,
"17:00": 6,
"18:00": 0,
"19:00": 0,
"20:00": 0,
"21:00": 0,
"22:00": 0,
"23:00": 0
}
},
"monday": {
"isActive": true,
"shiftCapacity": {
"00:00": 0,
"01:00": 0,
"02:00": 0,
"03:00": 0,
"04:00": 0,
"05:00": 0,
"06:00": 0,
"07:00": 0,
"08:00": 4,
"09:00": 4,
"10:00": 4,
"11:00": 4,
"12:00": 4,
"13:00": 4,
"14:00": 6,
"15:00": 6,
"16:00": 6,
"17:00": 6,
"18:00": 0,
"19:00": 0,
"20:00": 0,
"21:00": 0,
"22:00": 0,
"23:00": 0
}
},
"saturday": {
"isActive": true,
"shiftCapacity": {
"00:00": 0,
"01:00": 0,
"02:00": 0,
"03:00": 0,
"04:00": 0,
"05:00": 0,
"06:00": 0,
"07:00": 0,
"08:00": 4,
"09:00": 4,
"10:00": 4,
"11:00": 4,
"12:00": 4,
"13:00": 4,
"14:00": 6,
"15:00": 6,
"16:00": 6,
"17:00": 6,
"18:00": 0,
"19:00": 0,
"20:00": 0,
"21:00": 0,
"22:00": 0,
"23:00": 0
}
},
"sunday": {
"isActive": true,
"shiftCapacity": {
"00:00": 0,
"01:00": 0,
"02:00": 0,
"03:00": 0,
"04:00": 0,
"05:00": 0,
"06:00": 0,
"07:00": 0,
"08:00": 4,
"09:00": 4,
"10:00": 4,
"11:00": 4,
"12:00": 4,
"13:00": 4,
"14:00": 6,
"15:00": 6,
"16:00": 6,
"17:00": 6,
"18:00": 0,
"19:00": 0,
"20:00": 0,
"21:00": 0,
"22:00": 0,
"23:00": 0
}
},
"thursday": {
"isActive": true,
"shiftCapacity": {
"00:00": 0,
"01:00": 0,
"02:00": 0,
"03:00": 0,
"04:00": 0,
"05:00": 0,
"06:00": 0,
"07:00": 0,
"08:00": 4,
"09:00": 4,
"10:00": 4,
"11:00": 4,
"12:00": 4,
"13:00": 4,
"14:00": 6,
"15:00": 6,
"16:00": 6,
"17:00": 6,
"18:00": 0,
"19:00": 0,
"20:00": 0,
"21:00": 0,
"22:00": 0,
"23:00": 0
}
},
"tuesday": {
"isActive": true,
"shiftCapacity": {
"00:00": 0,
"01:00": 0,
"02:00": 0,
"03:00": 0,
"04:00": 0,
"05:00": 0,
"06:00": 0,
"07:00": 0,
"08:00": 4,
"09:00": 4,
"10:00": 4,
"11:00": 4,
"12:00": 4,
"13:00": 4,
"14:00": 6,
"15:00": 6,
"16:00": 6,
"17:00": 6,
"18:00": 0,
"19:00": 0,
"20:00": 0,
"21:00": 0,
"22:00": 0,
"23:00": 0
}
},
"wednesday": {
"isActive": true,
"shiftCapacity": {
"00:00": 0,
"01:00": 0,
"02:00": 0,
"03:00": 0,
"04:00": 0,
"05:00": 0,
"06:00": 0,
"07:00": 0,
"08:00": 4,
"09:00": 4,
"10:00": 4,
"11:00": 4,
"12:00": 4,
"13:00": 4,
"14:00": 6,
"15:00": 6,
"16:00": 6,
"17:00": 6,
"18:00": 0,
"19:00": 0,
"20:00": 0,
"21:00": 0,
"22:00": 0,
"23:00": 0
}
}
}
}Response
OK
Example response
{
"externalId": "40123",
"operatingHours": {
"friday": {
"active": true,
"shifts": [
[
"10:00",
"19:00"
]
]
},
"monday": {
"active": true,
"shifts": [
[
"10:00",
"19:00"
]
]
},
"saturday": {
"active": true,
"shifts": [
[
"10:00",
"19:00"
]
]
},
"sunday": {
"active": true,
"shifts": [
[
"11:00",
"18:00"
]
]
},
"thursday": {
"active": true,
"shifts": [
[
"10:00",
"19:00"
]
]
},
"tuesday": {
"active": true,
"shifts": [
[
"10:00",
"19:00"
]
]
},
"wednesday": {
"active": true,
"shifts": [
[
"10:00",
"19:00"
]
]
}
},
"blackoutDates": [
"2024-01-01",
"2024-01-02"
],
"firstName": "Taylor",
"lastName": "Swift",
"email": "taylor@swift.com",
"pickupInstructions": "Once you arrive at the store, please click above to let us know you are here. Then, go ahead and find a sales associate inside - they'll be happy to help you!",
"id": "stl_01234567890123456789",
"name": "White House",
"phoneNumber": "+1234567890",
"location": {
"number": "1600",
"street": "Pennsylvania Avenue NW",
"county": "Washington",
"city": "Washington",
"state": "DC",
"postalCode": "20500",
"country": "US",
"latitude": 38.8948949,
"longitude": -77.0371581
},
"zoneIds": [
"zone_01234567890123456789",
"zone_01234567890123456789"
],
"zoneAssociations": [
{
"end_date": "2025-01-01",
"start_date": "2024-01-01",
"store_location_id": "stl_01234567890123456789",
"zone_id": "zone_01234567890123456789"
}
],
"integrationMetadata": {
"integration_name": "ABC"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.