POST api/order/shippings

Get available shipping options for current order

Request Information

URI Parameters

None.

Body Parameters

NameDescriptionTypeAdditional information
ItemType

Type of Order Item

OrderItemType

Required

SupplierId

Supplier Id

integer

Required

DealId

Deal Id

integer

Required

Quantity

Quantity of items that a user can buy

integer

There can be restrictions for the quantity of available shopping cards, top ups and eVouchers. You can get maximum quantity of available items:

Shopping card/ Top up: GET api/shoppingcard/maxquantity?supplierId={supplierId}&dealId={dealId}

eVoucher: GET api/evoucher/maxquantity?supplierId={supplierId}&dealId={dealId}

Required

Amount

Amount to pay (valid only for purchase a new Shopping Card)

decimal number

None.

ProductCodeId

Product code id (valid only for purchase and refilling Shopping Cards with fixed prices)

integer

None.

CardNumber

Card Number to Top up (valid only for Shopping Card refilling)

string

Max length: 250

Request Formats

application/json, text/json

Sample:
[
  {
    "itemType": 2,
    "supplierId": 1,
    "dealId": 2,
    "quantity": 3,
    "amount": 4.1,
    "productCodeId": 5,
    "cardNumber": "sample string 6"
  },
  {
    "itemType": 2,
    "supplierId": 1,
    "dealId": 2,
    "quantity": 3,
    "amount": 4.1,
    "productCodeId": 5,
    "cardNumber": "sample string 6"
  }
]

Response Information

NameDescriptionTypeAdditional information
ShippingId

Shipping Id

integer

None.

ShippingType

Shipping type

string

None.

Price

Shipping Price

decimal number

None.

DisplayPrice

Price with currency to display

string

None.

Standard

Default shipping

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "shippingId": 1,
    "shippingType": "sample string 2",
    "price": 3.1,
    "displayPrice": "sample string 4",
    "standard": true
  },
  {
    "shippingId": 1,
    "shippingType": "sample string 2",
    "price": 3.1,
    "displayPrice": "sample string 4",
    "standard": true
  }
]