![]() The amount key will contain the price of a rate expressed in the currency that is used in the country from where the parcel originates, and the amount_local key will contain the price expressed in the currency that is used in the country the parcel is shipped to. Depending on your shipment data, there may be none, one or multiple rates.īy default, the calculated rates will return the price in two currencies under the amount and amount_local keys, respectively. When you create a new valid shipment object, Shippo automatically calculates all available rates. Returns all available shipping rates for a shipment object. To see reference guides for older API versions, see our legacy reference guide.įor more information about Shippo API versions, see our API versions guide. This reference guide supports the Shippo API version. Instead, create a new one with the desired values. Once you have created an object, you cannot change it. Shipments, Rates, Transactions, Refunds, Customs Items, and Customs Declarations are disposable. All other objects such as Addresses, Parcels, Only the Carrier Accounts object can be updated via PUT requests. Use POST requests to create objects, GET requests to retrieve objects, and PUT requests to update objects. The Shippo API is built around REST principles. rates/?results=25 will return up to 25 results. You can specify how many results per page are to be returned. Response data also formatted as JSON object. ![]() The documentation for each API resource contains more details on the values accepted by a given resource. Request data is passed to the API by POSTing JSON objects with the appropriate key/value-pairs to the respective All requests to the Shippo API must use TLS version 1.2 or higher. ![]() The API is available via Secure Socket Layer (SSL) only. You can find your token on theįor more information about authentication and test mode, In order to authenticate properly, please put Authorization: ShippoToken in your header. The API requires Shippo's token HTTP Authentication with your Shippo token (live or test). įor example, the /addresses/ resource is reachable at. API ResourcesĪll API URLs listed in this documentation are relative to. See our full API documentation and guides. First-time users and those looking for specific integration tutorials, ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |