Shipping Cost

Manage shipping costs

Calculating the final shipping cost

post

The endpoint returns shipping methods, which contain the matching fee for all zones.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : Needed to manage shipping settings.
  • : Needed to read shipping settings.
Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
sitestringRequired

Site unique identifier. A site is a specific shop.

If the tenant owns only one shop, the value should be set to main.

Body

Example of payload for shipping cost calculation.

customerIdstringOptional

Customer unique identifier.

Responses
chevron-right
200

Shipping costs calculated.

application/json
post
/shipping/{tenant}/{site}/quote

Calculating the minimum shipping cost

post

Retrieves the minimum shipping cost.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : Needed to manage shipping settings.
  • : Needed to read shipping settings.
Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
sitestringRequired

Site unique identifier. A site is a specific shop.

If the tenant owns only one shop, the value should be set to main.

Body

Example of payload for shipping cost calculation.

customerIdstringOptional

Customer unique identifier.

Responses
chevron-right
200

Shipping costs calculated.

application/json
post
/shipping/{tenant}/{site}/quote/minimum

Calculating the shipping cost for a given slot

post

Retrieves the minimum shipping cost related to a particular slot.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : Needed to manage shipping settings.
  • : Needed to read shipping settings.
Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant name.

Note: The tenant should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
sitestringRequired

Site unique identifier. A site is a specific shop.

If the tenant owns only one shop, the value should be set to main.

Body

Example of payload for shipping cost calculation.

customerIdstringOptional

Customer unique identifier.

slotIdstringRequired

The `slotId`` which the quote should be calculated for.

deliveryWindowIdstringRequired

The delivery window id which the slot with selected shipping method exists for.

Responses
chevron-right
200

Shipping costs calculated.

application/json
post
/shipping/{tenant}/{site}/quote/slot

Last updated

Was this helpful?