Saltar al contenido
Guías
Referencia de API
establesettings:update

Actualizar configuración de tienda

Actualiza la configuración de la tienda

PUT/v1/stores/settings

Actualiza la configuración de la tienda

Autorización

bearerAuth
AutorizaciónBearer <token>

Token de acceso OAuth 2.0 emitido por Ecomiq Auth.

Ubicación: header

Cuerpo de la solicitud

application/json

Definiciones TypeScript

Usa esta definición en TypeScript.

Cuerpo de la respuesta

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://example.com/v1/stores/settings" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "name": "string",  "description": "string",  "slug": null,  "domain": null,  "logo": null,  "favicon": null,  "icon": null,  "visibility": "public",  "timeZone": "string",  "currency": "string",  "language": "string",  "themeConfig": {    "name": null,    "mode": null,    "colors": {      "property1": "string",      "property2": "string"    },    "fonts": {      "property1": "string",      "property2": "string"    },    "assets": {      "property1": "string",      "property2": "string"    }  },  "featuresEnabled": {    "flags": {      "property1": true,      "property2": true    }  },  "checkoutSettings": {    "general": {      "allowGuestCheckout": true,      "identityScope": "store",      "signInMethods": [],      "useSequentialOrderNumbers": true,      "automaticallySelectFirstAddress": true,      "alwaysRequestCustomerAddress": true,      "requestCustomerDateOfBirth": true,      "automaticallySelectBestPromotion": true    },    "shipping": {      "showDeliveryTime": true,      "showDeliveryTimeInDays": true,      "useBusinessDaysForDeliveryTime": true,      "showEstimatedDeliveryDateInThankYouAndEmails": true,      "showOriginalShippingPriceWhenFree": true    },    "cartPage": {      "showShippingCostCalculation": true,      "allowProductLinks": true,      "redirectToCartPage": true    },    "orderBumps": {      "mergeOrderBumpOrders": true,      "allowOnlyOneAdditionalOffer": true,      "maxVisibleOffers": 0    },    "ordersAndPayments": {      "allowPurchasesFrom": "any",      "creditCardDailyOrderLimitPerIp": null,      "maximumItemsPerOrder": null,      "deliveryNoteText": null,      "boletoPaymentNoteText": null    }  }}