Create product groupdeprecated
post
https://core-api.ancon.io/api/v1/Tenants/{tenantId}/ProductGroupsDeprecated. Check the description for the replacement and sunset date, and see how deprecation works.
Authorization
Access-TokenheaderrequiredTenant- or outlet-level token from the backoffice. See Get started.
Path parameters
tenantIdstring (uuid)required
Header parameters
correlationIdstringCorrelation Id for the request
Request body
namestringrequiredtaxesarray<object> | null2 fields in
taxesidstring (uuid)orderFormatsinteger (int32)requiredAllowed values:
0,1,2,4,8,16,32,64,128,159,191.
outletProductGroupSettingsarray<object>required8 fields in
outletProductGroupSettingsoutletIdstring (uuid)accountNumberstring | nullvoucherTrackingobject | null2 fields in
voucherTrackingcostCenterstring | nullprojectstring | null
custom1string | nullcustom2string | nullcustom3string | nullcustom4string | nullcustom5string | null
tagsarray<object> | null2 fields in
tagsidstring (uuid) | nullnamestring | null
Responses
201Created
productGroupobject | null7 fields in
productGroupidstring (uuid)namestring | nulltypeinteger (int32)Allowed values:
0,1,2,3,4,5.taxesarray<object> | null3 fields in
taxesidstring (uuid)ratenumber (double)orderFormatsinteger (int32)Allowed values:
0,1,2,4,8,16,32,64,128,159,191.
accountsarray<object> | null3 fields in
accountsidstring (uuid)orderFormatsinteger (int32)Allowed values:
0,1,2,4,8,16,32,64,128,159,191.numberstring | null
outletProductGroupSettingsarray<object> | null10 fields in
outletProductGroupSettingsoutletIdstring (uuid)outletNamestring | nullaccountNumberstring | nullaccountIdstring (uuid) | nullvoucherTrackingobject | null2 fields in
voucherTrackingcostCenterstring | nullprojectstring | null
custom1string | nullcustom2string | nullcustom3string | nullcustom4string | nullcustom5string | null
tagsarray<object> | null2 fields in
tagsidstring (uuid)namestring | null
400Bad Request
messagestring | nullerrorCodestring (uuid)additionalDataany | null
401Unauthorized
messagestring | null
404Not Found
messagestring | nullerrorCodestring (uuid)