Update a store
PUT /stores/{resourceId}
/stores/{resourceId}Changes the name, address, platform, language, time zone or group of a store. Its identifier and audience cannot be changed.
When to use: When the shop moves to another domain or you want its customers added to a different group.
When not to use: To connect a different audience, create a new store with create_store.
Permissions: Requires the manager role or higher, or the marketing.audiences.write capability.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
Identifier (resource_id) of the store: the one you chose when you created it with create_store.
The updated Store resource
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.easymailing.com/stores/acme-shop" \ -H "X-Auth-Token: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "domain": "http://example.com", "platform": "string", "locale": "string", "timezone": "string", "group": "/entity/1" }'{ "resource_id": "string", "name": "string", "domain": "http://example.com", "platform": "string", "locale": "string", "timezone": "string", "audience": "string", "group": "/entity/1", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}