Retrieve shipping price

Overview

Use getShippingPrice to retrieve the shipping method and price available, based on a current cart configuration. This API call returns the available shipping methods defined in your Control Panel, together with the fees you configured based on order total amount / weight / country.

Requirements

It's mandatory to have tangible products defined in your Control Panel, to retrieve shipping method and price information.

Parameters

Parameters

Type/Description

Items

Object / Required

Contains information on the tangible product added in cart.

Code

String / Required

Product code defined in the Information tab from the Product level, in the Control Panel.