Update store branding
Updates a store branding record with the values you send. Fields you leave out or send as null keep their current value; the store it belongs to cannot be changed.
How to use it
- Take the branding id from List store branding (filter by storeId).
- Send the logo, header, footer and/or additionalAttributes to change; omitted fields keep their value.
- The new branding is saved with an updated modified time.
BearerAuthAuthorizationBearer <JWT>id*integerID of the record.
int64application/json- body
storeId?|The store to brand, from List stores. Required when creating; the store cannot be changed afterwards.
int64logo?|Logo value for the store, for example an image URL; stored as sent. On update, leave out to keep the current value.
header?|Header text for the store, for example for receipts your app prints. On update, leave out to keep the current value.
footer?|Footer text for the store, for example for receipts your app prints. On update, leave out to keep the current value.
additionalAttributes?|Extra branding settings as text (for example a JSON string). On update, leave out to keep the current value.
OK
*/*- response
id?|Store branding identifier. Set by the server.
int64store*The store this branding belongs to.
logo?|Logo value saved for the store, as sent (for example an image URL). The backend stores it without checking it.
header?|Header text saved for the store, for example for the top of receipts your app prints. Stored as sent.
footer?|Footer text saved for the store, for example for the bottom of receipts your app prints. Stored as sent.
additionalAttributes?|Any extra branding settings, stored as text exactly as sent (for example a JSON string).
modifiedTime*stringWhen the branding was last changed. Set by the server.
date-timecurl -X PUT 'https://beta.iotoms.com/api/v1/catalog/business/stores/branding/0' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": 0, "store": { "id": 0, "name": "string", "venue": { "id": 0, "name": "string", "status": "ACTIVE", "modifiedTime": "2019-08-24T14:15:22Z" }, "storeType": "string", "promotionalMessage": "string", "promotionalImage": "string", "status": "ACTIVE", "modifiedTime": "2019-08-24T14:15:22Z", "createdViaAi": true, "aiSessionId": "string" }, "logo": "string", "header": "string", "footer": "string", "additionalAttributes": "string", "modifiedTime": "2019-08-24T14:15:22Z"}