2.2.8.1.Informative shipping method request

An example of an informative shipping method request can be:

https://www.store.com/index.php?identifier=shipping

 
The GET value “identifier” is used to specify the type of request, in this case “shipping” to request the available shipping method based on countrycode.
 

Field
Description
Type
Required
Length
id The unique ID of the shippingmethod used in the store int yes  
type Type of the shippingmethod (flat_rate, free_shipping, pickup etc) string yes  
provider Name of the provider. string yes  
name The name of the shippingmethod used in the store string yes 128
price The price of the shippingmethod float yes  
allowed_areas

The allowed areas for this shippingmethod.

Definition:

string) required (valid iso alpha2 country code) (minlength: 2, maxlength: 2)

object yes  

 
Response

[{ 
   "id":2,
   "type":"pickup",
   "provider":"Postnl",
   "name":"Post NL",
   "price":34,
   "allowed_areas":[ 
      "NL",
      "FR",
      "ES"
   ]
},
{ 
   "id":2,
   "type":"free",
   "provider":"free_shipping",
   "name":"Free Shipping",
   "price":0,
   "allowed_areas":[ 
      "NL",
      "FR",
      "ES"
   ]
}
]
Suggest Edit