Retrieve a shipping rate
const url = 'https://acme.mykreezalid.com/api/v1/shipping-rates/1';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://acme.mykreezalid.com/api/v1/shipping-rates/1 \ --header 'Authorization: Basic <credentials>'Retrieves a shipping rate from its unique identifier.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”ID of your shipping rate.
Responses
Section titled “Responses”The shipping rate
object
A shipping rate customers can choose at checkout.
object
Shipping rate’s unique identifier
Name shown to customers
Short description
Details shown in the cart
Price of the shipping
Price added for each additional item
Whether the rate is selected by default
Whether the rate is offered
Whether the customer collects the order in person, so that no shipping address is needed
Whether the shipping fees are paid out to the vendor (otherwise they go to the marketplace)
Whether the rate applies to every country
Countries the rate is restricted to, when it does not apply to every country
Identifier of the carrier
Expected format of the tracking numbers
Tracking URL of the carrier
Position of the rate in lists, lowest first
Your own identifier for this rate
Example
{ "shipping_rate": { "id": 432424, "object": "ShippingRate", "title": "Standard", "price": 6.95, "step_price": 1.45, "restricted_countries": [ "FR", "BE" ], "sort_priority": 0, "external_id": "ABC123" }}No shipping rate has this identifier.