Create location in Square
POS API · write, waits for approval · 100% field coverage
Your agent can create location in Square through Apideck's POS API, the same call it makes for every POS app. It changes data in the customer's Square account, so it stops with the exact request until a person approves it. Apideck adds the customer's Square credentials, so no token ever reaches the agent.
The call
POST https://unify.apideck.com/pos/locations
Headers: x-apideck-service-id: square, plus your app id and the customer's consumer id. Apideck MCP tool: pos-locations-add. Agent operation id: unified.pos.locationsAdd.
Body fields
| Field | Type | Description |
|---|---|---|
| name | string | The name of the location |
| business_name | string | The business name of the location |
| address | object | |
| status | string | Status of this location. |
| merchant_id | string | |
| currency | string | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ |