v54

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01594762.7 KB
Shipping policies

Retrieve shipping policy by ID

Retrieves information from a shipping policy from your store, searching by shipping policy ID.

⚠️ While most endpoints return time fields in UTC format, this endpoint returns Scheduled Delivery related time fields adjusted to the time zone configured for the VTEX account.

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:

ProductCategoryResource
LogisticsLogistics accessLogistics full access
LogisticsLogistics accessLogistics viewer
LogisticsLogistics accessLogistics shipping full access

You can create a custom role with that resource or use one of the following predefined roles:

RoleResource
Logistics - Full accessLogistics full access
OMS - Full accessLogistics full access
Logistics - Full accessLogistics viewer
Logistics - Read onlyLogistics viewer
Logistics - Full accessLogistics shipping full access
OMS - Full accessLogistics 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.

get/api/logistics/pvt/shipping-policies/{id}

Path parameters

idstring required
Example:sp12

Headers

Content-Typestring required
Example:application/json

Type of the content being sent.

Acceptstring required
Example:application/json

HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.

Response

OK

idstring
namestring
shippingMethodstring

Type of shipping available for this shipping policy (carrier). Options are shown on shipping simulation.

numberOfItemsPerShipmentinteger

Determines the number of items allowed per shipment.

minimumValueAceptablenumber

Minimum value accepted by the carrier for delivering.

maximumValueAceptablenumber

Maximum value accepted by the carrier for delivering.

additionalTimestring

Additional time configured in HH:MM:SS format.

deliveryChannelstring

Defines if the shipping type is delivery or pickup.

calculationTypeinteger

Shipping policy calculation type.

isActiveboolean

Defines if the shipping policy is active (true) or not (false).

lastIndexedAtstring nullable

Date and time since the last indexing, in ISO 8601 time zone offset format, as in YYYY-MM-DD hh:mm:ss[.nnnnnnn]+hh:mm.

All 59 operations