Core APIProducts

Get product detailsdeprecated

gethttps://core-api.ancon.io/api/v1/Tenants/{tenantId}/Products/{id}
View .mdOpenAPI
Deprecated. Check the description for the replacement and sunset date, and see how deprecation works.

Authorization

  • Access-Tokenheaderrequired

    Tenant- or outlet-level token from the backoffice. See Get started.

Path parameters

  • tenantIdstring (uuid)required
  • idstring (uuid)required

Header parameters

  • correlationIdstring

    Correlation Id for the request

Responses

200OKapplication/json
  • idstring (uuid)
  • surrogateIdstring (uuid)
  • productGroupobject | null
    2 fields in productGroup
    • idstring (uuid)
    • namestring | null
  • namestring | null
  • descriptionstring | null
  • allergyInformationstring | null
  • taxesarray<object> | null
    3 fields in taxes
    • idstring (uuid)
    • taxTypeinteger (int32)

      Allowed values: 1, 2.

    • ratenumber (double)
  • productAvailabilitiesarray<object> | null
    2 fields in productAvailabilities
    • systemVisibilityinteger (int32)

      Allowed values: 0, 1, 2, 3, 4, 5, 6, 7.

    • orderFormatinteger (int32)

      Allowed values: 0, 1, 2, 4, 8, 16, 32, 64, 128, 159, 191.

  • hasVariantsboolean
  • mandatoryToPickVariantboolean
  • variantsarray<object> | null
    6 fields in variants
    • idstring (uuid)
    • namestring | null
    • isMainProductVariantboolean
    • isOpenPriceboolean
    • variantPriceobject | null
      2 fields in variantPrice
      • unitPriceobject | null
        2 fields in unitPrice
        • amountnumber (double)
        • currencystring | null
      • additionalPriceobject | null
        2 fields in additionalPrice
        • amountnumber (double)
        • currencystring | null
    • materialCostobject | null
      2 fields in materialCost
      • unitPriceobject | null
        2 fields in unitPrice
        • amountnumber (double)
        • currencystring | null
      • additionalPriceobject | null
        2 fields in additionalPrice
        • amountnumber (double)
        • currencystring | null
  • outletSharesarray<object> | null
    3 fields in outletShares
    • idstring (uuid)
    • namestring | null
    • productShareTypeinteger (int32)

      Allowed values: 0, 1.

  • tagsarray<object> | null
    3 fields in tags
    • idstring (uuid)
    • namestring | null
    • typeinteger (int32)

      Allowed values: 0, 1, 2, 3.

  • subProductsarray<object> | null
    11 fields in subProducts
    • idstring (uuid)
    • productIdstring (uuid)
    • variantIdstring (uuid)
    • variantNamestring | null
    • useOverridePriceboolean
    • priceobject | null
      2 fields in price
      • unitPriceobject | null
        2 fields in unitPrice
        • unitPriceobject | null
          2 fields in unitPrice
          • amountnumber (double)
          • currencystring | null
        • additionalPriceobject | null
          2 fields in additionalPrice
          • amountnumber (double)
          • currencystring | null
      • materialCostobject | null
        2 fields in materialCost
        • unitPriceobject | null
          2 fields in unitPrice
          • amountnumber (double)
          • currencystring | null
        • additionalPriceobject | null
          2 fields in additionalPrice
          • amountnumber (double)
          • currencystring | null
    • overridePriceobject | null
      2 fields in overridePrice
      • unitPriceobject | null
        2 fields in unitPrice
        • unitPriceobject | null
          2 fields in unitPrice
          • amountnumber (double)
          • currencystring | null
        • additionalPriceobject | null
          2 fields in additionalPrice
          • amountnumber (double)
          • currencystring | null
      • materialCostobject | null
        2 fields in materialCost
        • unitPriceobject | null
          2 fields in unitPrice
          • amountnumber (double)
          • currencystring | null
        • additionalPriceobject | null
          2 fields in additionalPrice
          • amountnumber (double)
          • currencystring | null
    • positioninteger (int32)
    • quantitynumber (double)
    • outletSharesarray<string (uuid)> | null
    • taxesarray<object> | null
      3 fields in taxes
      • idstring (uuid)
      • taxTypeinteger (int32)

        Allowed values: 1, 2.

      • ratenumber (double)
401Unauthorizedapplication/json
  • messagestring | null
404Not Foundapplication/json
  • messagestring | null
  • errorCodestring (uuid)