GET api/suppliers/{id}

Get Supplier Details

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

supplier Id

integer

Required

Body Parameters

None.

Response Information

supplier info

NameDescriptionTypeAdditional information
Id

Supplier Id

integer

None.

Addresses

List of Supplier Addresses

Collection of SupplierAddress

None.

CompanyLogo

Company Logo URL

string

None.

DetailImage

Supplier Detail Image URL

string

None.

SupplierImage

Supplier Image

string

None.

InfoWebsite

Supplier Info Web Site URL

string

None.

IsFavorite

Is in favorites

boolean

None.

PrimaryMainCategoryId

Primary Category Id

integer

None.

PrimaryMainCategory

Primary Category Name

string

None.

Info

Supplier Info

string

None.

Name

Supplier Name

string

None.

Teaser

Supplier Teaser

string

None.

Deals

Deals

Collection of Deal

None.

CVR_Number

CVR Number

string

None.

IsTranslated

Is Translated Or Not

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "addresses": [
    {
      "addressLine": "sample string 1",
      "addressId": 2,
      "city": "sample string 3",
      "phone": "sample string 4",
      "webSite": "sample string 5",
      "postCode": "sample string 6",
      "latitude": 1.1,
      "longitude": 1.1
    },
    {
      "addressLine": "sample string 1",
      "addressId": 2,
      "city": "sample string 3",
      "phone": "sample string 4",
      "webSite": "sample string 5",
      "postCode": "sample string 6",
      "latitude": 1.1,
      "longitude": 1.1
    }
  ],
  "companyLogo": "sample string 2",
  "detailImage": "sample string 3",
  "supplierImage": "sample string 4",
  "infoWebsite": "sample string 5",
  "isFavorite": true,
  "primaryMainCategoryId": 1,
  "primaryMainCategory": "sample string 7",
  "info": "sample string 8",
  "name": "sample string 9",
  "teaser": "sample string 10",
  "deals": [
    {
      "dealId": 1,
      "dealType": 0,
      "dealTypeName": "sample string 2",
      "dealAction": 0,
      "additionalText": "sample string 3",
      "dealActionContent": "sample string 4",
      "dealActionText": "sample string 5",
      "specialOfferInfo": {
        "info": "sample string 1",
        "timeLeft": "sample string 2",
        "endDateTimeUTC": "2024-03-28T09:34:16.6197834+01:00"
      },
      "discounts": [
        {
          "discountId": 1,
          "description": "sample string 1",
          "percentDiscount": 2.1,
          "amountDiscount": 3.1,
          "dealDiscountType": 0,
          "normalPrice": 1.1,
          "discountPrice": 1.1,
          "code": "sample string 4",
          "discountDescription": "sample string 5",
          "discountString": "sample string 6",
          "currency": {
            "currencySymbol": "sample string 1",
            "isPrefix": true
          }
        },
        {
          "discountId": 1,
          "description": "sample string 1",
          "percentDiscount": 2.1,
          "amountDiscount": 3.1,
          "dealDiscountType": 0,
          "normalPrice": 1.1,
          "discountPrice": 1.1,
          "code": "sample string 4",
          "discountDescription": "sample string 5",
          "discountString": "sample string 6",
          "currency": {
            "currencySymbol": "sample string 1",
            "isPrefix": true
          }
        }
      ],
      "shoppingCardInfo": {
        "hasShoppingCardTopUp": true,
        "hasShoppingCardBuyNew": true
      }
    },
    {
      "dealId": 1,
      "dealType": 0,
      "dealTypeName": "sample string 2",
      "dealAction": 0,
      "additionalText": "sample string 3",
      "dealActionContent": "sample string 4",
      "dealActionText": "sample string 5",
      "specialOfferInfo": {
        "info": "sample string 1",
        "timeLeft": "sample string 2",
        "endDateTimeUTC": "2024-03-28T09:34:16.6197834+01:00"
      },
      "discounts": [
        {
          "discountId": 1,
          "description": "sample string 1",
          "percentDiscount": 2.1,
          "amountDiscount": 3.1,
          "dealDiscountType": 0,
          "normalPrice": 1.1,
          "discountPrice": 1.1,
          "code": "sample string 4",
          "discountDescription": "sample string 5",
          "discountString": "sample string 6",
          "currency": {
            "currencySymbol": "sample string 1",
            "isPrefix": true
          }
        },
        {
          "discountId": 1,
          "description": "sample string 1",
          "percentDiscount": 2.1,
          "amountDiscount": 3.1,
          "dealDiscountType": 0,
          "normalPrice": 1.1,
          "discountPrice": 1.1,
          "code": "sample string 4",
          "discountDescription": "sample string 5",
          "discountString": "sample string 6",
          "currency": {
            "currencySymbol": "sample string 1",
            "isPrefix": true
          }
        }
      ],
      "shoppingCardInfo": {
        "hasShoppingCardTopUp": true,
        "hasShoppingCardBuyNew": true
      }
    }
  ],
  "cvR_Number": "sample string 11",
  "isTranslated": true
}