Change a shop
Updates the fields named in the body and leaves the rest alone. Adding `stablecoin` to `methods` without also sending `treasuryAddress` is refused: a shop that offers to take a stablecoin payment with nowhere to send it is a checkout that takes money and loses it.
Updates the fields named in the body and leaves the rest alone. Adding stablecoin to methods without also sending treasuryAddress is refused: a shop that offers to take a stablecoin payment with nowhere to send it is a checkout that takes money and loses it.
Authorization
bearerAuth A bearer token. The Account routes accept a Privy access token; the MCP transport accepts an sk- API key issued by POST /account/api-keys.
In: header
Path Parameters
The shop's id.
Request Body
application/json
The fields to change. Omitted fields are left as they are.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/business/shops/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "name": "string", "origin": "string", "methods": [ "card" ], "treasuryAddress": "string", "projectId": "string", "stablecoins": [ { "symbol": "usdg", "name": "string", "chain": "string", "chainId": 0, "available": true } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Read one shop GET
The shop's current record, including the stablecoins it can take and whether putty has a recorded address for each. A shop belonging to another user returns the same 404 as one that does not exist.
Delete a shop DELETE
Removes the shop and every order recorded against it. A shop belonging to another user returns the same 404 as one that does not exist, so the route cannot be used to confirm a guessed id.