Products and Courier

Use the interactive API for endpoint exploration and request execution:

Product stock check

GET /api/v2/Product/stock-check?productId=<int>&dmdCode=<long>

Success

200 OK

{
  "inStock": true
}

Common failures

  • 400: invalid product identifiers

  • 500: server exception


Product price check

GET /api/v2/Product/price-check?productId=<int>&dmdCode=<long>&totalPacks=<int>

Success

200 OK

Common failures

  • 400: invalid input

  • 404: product price not found

  • 500: server exception


Product search (anonymous)

GET /api/v2/Product/search?searchTerm=<string>

Notes:

  • Supports anonymous access.

  • Intended for product lookup/search UI.


Courier price list

GET /api/v2/CourierService/price-check

Success

200 OK with list of delivery options and prices.

Common failures

  • 400: validation/business issue

  • 500: server exception

Last updated

Was this helpful?