ApiResourcesStore settings

Update general settings

Update the store name, visibility, timezone, currency, and dashboard color mode.

PATCH updates only the supplied fields and preserves omitted values. PUT requires name, visibility, timezone, and currency. Omit dark_mode to preserve the current preference; send null to clear it.

PATCH
/v2/store/settings/general

Authorization

bearerAuth storeAuth
AuthorizationBearer <token>

Provide your SellApp API key as a bearer token.

In: header

X-STORE<token>

Select the SellApp store for this API request.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PATCH "https://sell.app/api/v2/store/settings/general" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "id": 0,
    "name": "string",
    "slug": "string",
    "visibility": "PUBLIC",
    "timezone": "string",
    "currency": "str",
    "dark_mode": "light",
    "status": {
      "accessible": true,
      "verified": true,
      "locked": true
    },
    "analytics": {
      "ga4_measurement_id": "string",
      "meta_pixel_id": "string",
      "tiktok_pixel_id": "string",
      "ga4_api_secret_configured": true,
      "meta_access_token_configured": true,
      "tiktok_access_token_configured": true
    },
    "marketing": {
      "abandoned_cart": {}
    }
  }
}
{
  "message": "Unauthenticated."
}
{
  "message": "This action is unauthorized."
}
{
  "message": "The given data was invalid.",
  "errors": {
    "data": [
      "The data field is required."
    ]
  }
}
PUT
/v2/store/settings/general

Authorization

bearerAuth storeAuth
AuthorizationBearer <token>

Provide your SellApp API key as a bearer token.

In: header

X-STORE<token>

Select the SellApp store for this API request.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://sell.app/api/v2/store/settings/general" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "visibility": "PUBLIC",    "timezone": "string",    "currency": "str"  }'
{
  "data": {
    "id": 0,
    "name": "string",
    "slug": "string",
    "visibility": "PUBLIC",
    "timezone": "string",
    "currency": "str",
    "dark_mode": "light",
    "status": {
      "accessible": true,
      "verified": true,
      "locked": true
    },
    "analytics": {
      "ga4_measurement_id": "string",
      "meta_pixel_id": "string",
      "tiktok_pixel_id": "string",
      "ga4_api_secret_configured": true,
      "meta_access_token_configured": true,
      "tiktok_access_token_configured": true
    },
    "marketing": {
      "abandoned_cart": {}
    }
  }
}
{
  "message": "Unauthenticated."
}
{
  "message": "This action is unauthorized."
}
{
  "message": "The given data was invalid.",
  "errors": {
    "data": [
      "The data field is required."
    ]
  }
}