Skip to content
Platform & IdentityStores

Update general settings

Replaces the current store's general identity and localization. A null logo or icon removes it; the icon is the square logo. Omitted business settings keep the current values. An explicit business settings object replaces contact email, phone and address.

Header Parameters

x-Store-Id?string

Store the request acts on. Not needed when the token is bound to a store.

Authorization*string

OAuth 2.0 bearer token.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://api.ecomiq.pe/api/v1/stores/settings/general" \  -H "x-Store-Id: <store-id>" \  -H "Authorization: Bearer <token>" \  -H "Content-Type: application/json" \  -d '{    "name": "Mi tienda",    "description": "Polo de algodón pima para uso diario.",    "logo": "Mi tienda",    "icon": "Mi tienda",    "language": "es",    "timeZone": "America/Lima",    "businessSettings": {      "contactEmail": "andrea.ramos@example.com",      "phone": "+51987654321",      "address": {        "address1": "Av. Larco 1234",        "city": "Lima",        "countryCode": "PE",        "name": "Mi tienda",        "company": "Comercial Lima SAC",        "address2": "Dpto. 501",        "province": "Lima",        "postalCode": "15074"      }    }  }'
{  "id": "7204558912004327977",  "name": "Mi tienda",  "description": "Polo de algodón pima para uso diario.",  "slug": "mi-tienda",  "domain": "mi-tienda.ecomiq.app",  "logo": "Mi tienda",  "icon": "Mi tienda",  "visibility": "public",  "timeZone": "America/Lima",  "countryCode": "PE",  "currency": "PEN",  "language": "es",  "checkoutSettings": {    "orderProcessing": {      "autoArchiveDeliveredOrders": false,      "autoFulfillDigitalOrders": false,      "customerReturns": false,      "returnWindowDays": 30,      "customerCancellations": false    },    "general": {      "allowGuestCheckout": false,      "identityScope": "store",      "customerLoginMode": "hosted",      "customerRegistration": {        "firstName": "hidden",        "lastName": "hidden",        "phone": "hidden",        "dateOfBirth": "hidden"      },      "captchaProvider": "turnstile"    },    "orderBumps": {      "allowOnlyOneAdditionalOffer": false,      "maxVisibleOffers": 1    },    "ordersAndPayments": {      "allowPurchasesFrom": "any",      "maximumItemsPerOrder": 1    },    "abandonedCarts": {      "sendRecoveryEmail": false,      "delayHours": 1    },    "fields": {      "orderNote": false,      "giftMessage": false    }  }}