v1

latestOpenAPI 3.0.3Apache 2.02026-07-2478177179.1 KB
Supplier

Get all suppliers with details for a specific partner.

Get all suppliers with details for a specific partner.

get/suppliers

Query parameters

pageinteger

Current page default is 0

pageSizeinteger

Number of items included in a page

Response

Successful response

Example response

{
  "meta": {
    "totalItems": 1,
    "totalPages": 1,
    "page": 1,
    "size": 1
  },
  "suppliers": [
    {
      "id": "60cdaa0a14dfed073d77303f",
      "createdAt": "2021-01-01T09:23:54.723Z",
      "companyName": "Sand",
      "contactInfo": {
        "name": "Magued",
        "email": "magued@abc.com",
        "telphone": {
          "number": "987654321"
        },
        "address": "48 Al Jazeira St - DeiraRiggat Al Buteen - Dubai - United Arab Emirates"
      },
      "suppliedItemList": [
        {
          "sku": "010000",
          "id": "6077d5ea12d722528cadd898",
          "type": "INGREDIENT"
        }
      ]
    }
  ]
}