Data Object: Shipping Rates

Get Shipping Rates List


{{ data.shipping.list({}) }}

HTTP/1.1 200 OK
{
    {
         id: 5,
         name: "Shipping to Cahkadzor",
         type: 2,
         durationTime: 1,
         durationTimeType: 1,
         minWeight: 0,
         maxWeight: 0,
         minAmount: 1000,         
         maxAmount: 3000, 
         amount: 1000,
         currencyId: 1,
         currencyCode: "AMD",
         countryId: 1,
         countryName: "Armenia",
         stateId: 10,
         stateName: "Kotayq",
         cityId: 52,
         cityName: "Cahkadzor"
    }
    ...
}

or

[]

Parameter Type Description
id int Shipping rate identifier
name string Shipping rate name
type int Shipping rate type (free or fixed amount)
durationTime int Duration identifier (hours, days, months)
durationTimeType int Duration identifier type (by hours, by days, by months)
minWeight float Order minimum weight for shipping
maxWeight float Order maximum weight for shipping
minAmount float Order minimum amount for shipping
maxAmount float Order maximum amount for shipping
amount float Shipping rate price
currencyId int Currency identifier
currencyCode string Currency code
countryId int Country identifier
countryName string Country name
stateId int State identifier
stateName string State name
cityId int City identifier
cityName string City name