Update Modifier Group

PATCH {{baseUrl}}/pos/modifier-groups/:id?raw=false

Update Modifier Group

Request Params

KeyDatatypeRequiredDescription
rawbooleanInclude raw response. Mostly used for debugging purposes

Request Body

{"name"=>"Modifier", "alternate_name"=>"Modifier New", "minimum_required"=>1, "maximum_allowed"=>5, "selection_type"=>"single", "present_at_all_locations"=>false, "modifiers"=>[{"id"=>"12345", "name"=>"Modifier", "alternate_name"=>"Modifier New", "price_amount"=>10, "currency"=>"USD", "available"=>true}, {"id"=>"12345", "name"=>"Modifier", "alternate_name"=>"Modifier New", "price_amount"=>10, "currency"=>"USD", "available"=>true}], "deleted"=>true, "row_version"=>"1-12345"}

HEADERS

KeyDatatypeRequiredDescription
x-apideck-consumer-idstring(Required) ID of the consumer which you want to get or push data from
x-apideck-app-idstring(Required) The ID of your Unify application
x-apideck-service-idstringProvide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"status_code":200,"status":"OK","service":"square","resource":"ModifierGroups","operation":"update","data":{"id":"12345"}}