Core APIIngredients

Get ingridient details

gethttps://core-api.ancon.io/api/v1/Tenants/{tenantId}/Ingredients/{id}
View .mdOpenAPI

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)
  • namestring | null
  • priceobject | null
    2 fields in price
    • amountnumber (double)
    • currencystring | null
  • materialCostobject | null
    2 fields in materialCost
    • amountnumber (double)
    • currencystring | null
  • outletSharesarray<object> | null
    3 fields in outletShares
    • idstring (uuid)
    • namestring | null
    • productShareTypeinteger (int32)

      Allowed values: 0, 1.

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