Shop

Price a shop order

The server's prices, delivery, discount and total. Never fails on stock or a bad code; it reports them in problems, discountError, shippingError.

post/v1/orders/quote

Request

  • Base URL: https://api.nogpets.com
  • URL: https://api.nogpets.com/v1/orders/quote
  • Auth: none required

Request body

shippingMethodstring required
postalCodestring
bookingIdstring
discountCodestring

Example request

{
  "shippingMethod": "courier"
}

Response

The quote

itemsobject[] required
subtotalCentsinteger required
discountobject nullable
discountErrorstring nullable
shippingMethodstring nullable
shippingobject nullable
shippingCentsinteger required
shippingErrorstring nullable
totalCentsinteger required
problemsobject[] required
okboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.