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 /basket/shipping-methods/?format=api
[
{
"code": "pishtaz",
"name": "پست پیشتاز",
"description": "",
"price": {
"currency": "تومان",
"excl_tax": "70000.00",
"incl_tax": "70000.00",
"tax": "0.00"
},
"is_discounted": false,
"discount": 0.0
},
{
"code": "tipax",
"name": "تیپاکس",
"description": "",
"price": {
"currency": "تومان",
"excl_tax": "100000.00",
"incl_tax": "100000.00",
"tax": "0.00"
},
"is_discounted": false,
"discount": 0.0
},
{
"code": "bus-and-freight",
"name": "هزینه ارسال به باربری (پس کرایه)",
"description": "",
"price": {
"currency": "تومان",
"excl_tax": "100000.00",
"incl_tax": "100000.00",
"tax": "0.00"
},
"is_discounted": false,
"discount": 0.0
}
]