putty
API ReferenceArtifacts

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.

PATCH
/business/shops/{id}

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
AuthorizationBearer <token>

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

id*string

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"}