Upsert category by generic key

This Api works as un upsert. If the key_identifier's value used to search is not present, a creation will be made. Otherwise an update will be performed with the key requested. Please consider that the key already present in database can not be updated with this Api.

Path Params
string
enum
required

key that you want to use to update. This key must be the same in the payload request.

Allowed:
string
required

value of key that you want to use to update. This key must be the same in the payload request.

Body Params

Object data that need to be updated

string
length between 0 and 255

Category code must be unique

string
integer
integer
integer
integer
integer
integer
integer
integer
integer
integer
boolean

Set to true if you want to show it in orders or in cash register

boolean

Set to true if you want to show the category in the kiosk

boolean
Defaults to true

Set to true if you want to show the category in the slave devices

boolean

Set to true if you want to show the category in the website

boolean
string
integer

Sorting index in visualization

string

long description

string
required
length between 0 and 255

Category name

integer
string
length ≤ 255

short description

string
string
length between 0 and 255

need an url

uuid
variations
array of objects
variations
Responses

404

Category not found

Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json