Update a Dish
PATCH/api/v1/dishes/:id
Update a Dish
Request
Path Parameters
id int32required
- application/vnd.api+json
Body
required
include string
Include associations (delimited with comma). Available associations: pictures, dish_option_categories, business, category
data[id] stringrequired
data[type] stringrequired
Possible values: [dishes
]
data[attributes][description] string
data[attributes][name] string
data[attributes][sku_ref] string
data[attributes][price_per_item_cents] int32
Price in cents (currency taken from the business)
data[attributes][unavailable]
data[attributes][on_uber_eats]
data[relationships][category][data][type] string
Possible values: [category
]
data[relationships][category][data][id] string
Related Category ID
data[relationships][dish_option_categories][data][type] string
Possible values: [dish_option_categories
]
data[relationships][dish_option_categories][data][id] string
Categories for dish options
Responses
- 200
Update a Dish
- application/vnd.api+json
- Schema
Schema
any
Loading...