Core APIProductGroups

Update product groupdeprecated

puthttps://core-api.ancon.io/api/v1/Tenants/{tenantId}/ProductGroups/{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

Request body application/json

  • namestringrequired
  • taxesarray<object> | null
    2 fields in taxes
    • idstring (uuid)
    • orderFormatsinteger (int32)required

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

  • outletProductGroupSettingsarray<object>required
    8 fields in outletProductGroupSettings
    • outletIdstring (uuid)
    • accountNumberstring | null
    • voucherTrackingobject | null
      2 fields in voucherTracking
      • costCenterstring | null
      • projectstring | null
    • custom1string | null
    • custom2string | null
    • custom3string | null
    • custom4string | null
    • custom5string | null
  • tagsarray<object> | null
    2 fields in tags
    • idstring (uuid) | null
    • namestring | null

Responses

200OKapplication/json
  • productGroupobject | null
    7 fields in productGroup
    • idstring (uuid)
    • namestring | null
    • typeinteger (int32)

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

    • taxesarray<object> | null
      3 fields in taxes
      • idstring (uuid)
      • ratenumber (double)
      • orderFormatsinteger (int32)

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

    • accountsarray<object> | null
      3 fields in accounts
      • idstring (uuid)
      • orderFormatsinteger (int32)

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

      • numberstring | null
    • outletProductGroupSettingsarray<object> | null
      10 fields in outletProductGroupSettings
      • outletIdstring (uuid)
      • outletNamestring | null
      • accountNumberstring | null
      • accountIdstring (uuid) | null
      • voucherTrackingobject | null
        2 fields in voucherTracking
        • costCenterstring | null
        • projectstring | null
      • custom1string | null
      • custom2string | null
      • custom3string | null
      • custom4string | null
      • custom5string | null
    • tagsarray<object> | null
      2 fields in tags
      • idstring (uuid)
      • namestring | null
400Bad Requestapplication/json
  • messagestring | null
  • errorCodestring (uuid)
  • additionalDataany | null
401Unauthorizedapplication/json
  • messagestring | null
404Not Foundapplication/json
  • messagestring | null
  • errorCodestring (uuid)