Create Modifier

POST {{baseUrl}}/pos/modifiers?raw=false

Create Modifier

Request Params

KeyDatatypeRequiredDescription
rawbooleanInclude raw response. Mostly used for debugging purposes

Request Body

{"name"=>"Modifier", "modifier_group_id"=>"123", "idempotency_key"=>"random_string", "alternate_name"=>"Modifier New", "price_amount"=>10, "currency"=>"USD", "available"=>true}

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: Created

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