Freight Simulation

A freight simulation endpoint.

Query Parameters

NameTypeShort Description
ShouldCheckStockboolChecks SKU stock availability.
AllowPackageSplitboolAllows split delivery between stores.
AllowUnavailableItemboolAllows quoting non-existent SKUs.
PersistboolSaves quote for up to 15 days.
UseCatalogMeasureboolUses product catalog dimensions.
MaxResultsintLimits number of results.
ShouldPackagedIndividuallyboolQuotes items separately.
IgnoredSellerCodesstring[]Blocked seller codes (CNPJs).
SellerCodesstring[]Allowed seller codes (CNPJs).
UniqueSlasboolReturns only one SLA per item.

Request Body Fields

FieldTypeDescription
originIdentifierstringCNPJ (seller code) used as the shipping origin.
postalCodestringDestination postal code for the quote.
itemsarrayList of SKUs to simulate.
items[].skustringSKU code.
items[].quantityintQuantity requested for the SKU.
items[].pricedecimalUnit price of the SKU.
items[].dimensionsobjectObject with physical measures of the SKU (required if UseCatalogMeasure=false).
items[].dimensions.widthdecimalWidth in centimeters.
items[].dimensions.depthdecimalDepth in centimeters.
items[].dimensions.weightdecimalWeight in kilograms.
items[].dimensions.heightdecimalHeight in centimeters.

Response Fields

FieldTypeDescription
idstringSimulation identifier.
packagesarrayList of generated delivery packages.
packages[].itemsarraySKUs included in that package.
packages[].items[].sellersarraySellers with available stock for the SKU.
packages[].freightsarrayShipping options available for that package.
unavailablesarraySKUs that were not available for any seller.
combinationsarrayPossible combinations of packages or sellers (if applicable).
Language
URL