Shipping Method
GET:
Retrieve shipping methods available to the user, basket, request combination
POST(shipping_address):
{
"country": "http://127.0.0.1:8000/oscarapi/countries/NL/",
"first_name": "Henk",
"last_name": "Van den Heuvel",
"line1": "Roemerlaan 44",
"line2": "",
"line3": "",
"line4": "Kroekingen",
"notes": "Niet STUK MAKEN OK!!!!",
"phone_number": "+31 26 370 4887",
"postcode": "7777KK",
"state": "Gerendrecht",
"title": "Mr"
}
Post a shipping_address if your shipping methods are dependent on the
address.
GET /api/v2/basket/shipping-methods/?format=api
[
{
"code": "no-shipping-required",
"name": "No shipping required",
"description": "",
"price": {
"currency": null,
"excl_tax": "0.00",
"incl_tax": "0.00",
"tax": "0.00"
},
"is_discounted": false,
"discount": 0.0
}
]