Get capacity reservation usage by window
Retrieves capacity usage of a specific scheduled delivery reservation window.
⚠️ While most API endpoints return time fields in UTC format, this endpoint returns time adjusted to the configured time zone of the VTEX account.
Note that the combined string carrier@{capacityType}@{shippingPolicyId} can be referred to as a "resource" in the API's messages.
Permissions
Any user or API key must have at least one of the appropriate License Manager resources to be able to successfully run this request. Otherwise they will receive a status code 403 error. These are the applicable resources for this endpoint:
| Product | Category | Resource |
|---|---|---|
| Logistics | Logistics access | Logistics viewer |
| Logistics | Logistics access | Logistics full access |
| Logistics | Logistics access | Logistics shipping full access |
You can create a custom role with that resource or use one of the following predefined roles:
| Role | Resource |
|---|---|
| Logistics - Full access | Logistics viewer |
| Logistics - Read only | Logistics viewer |
| Logistics - Full access | Logistics full access |
| OMS - Full access | Logistics full access |
| Logistics - Full access | Logistics shipping full access |
| OMS - Full access | Logistics shipping full access |
❗ Assigning a predefined role to users or application keys usually grants permission to multiple License Manager resources. If some of these permissions are not necessary, consider creating a custom role instead. For more information regarding security, see Best practices for using application keys. To learn more about machine authentication at VTEX, see Authentication overview.
Path parameters
Defines how the delivery capacity is set in the shipping policy, which can be by maximum number of orders (orders_quantity) or items (skus_quantity).
ID of the shipping policy being searched for capacity reservation.
Date of the scheduled delivery window being consulted for reservations. The format is YYYY-MM-DD.
Starting time of the scheduled delivery window being consulted for reservations. The format is HHMM.
Ending time of the scheduled delivery window being consulted for reservations. The format is HHMM.
Headers
Type of the content being sent.
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Response
OK