Skip to content

Update brand

PUT/admin/v1/stores/{store_id}/brand
  • settings:write

Replace the store's brand. Send If-Match: "v{version}" ("v0" for the first save) to avoid overwriting someone else's changes.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Headers

  • If-Matchstring · or null

    ETag from the last read, e.g. "v3"

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • logo_idstring · or null

    A file of the store's library.

  • icon_idstring · or null
  • cover_idstring · or null
  • colorstring · or null
  • accent_colorstring · or null
  • sloganstring · or null

    One line, at most 120 characters.

  • slogan_translationsobject

Returns

200 Saved brand.

Errors

  • 412precondition_failedThe brand changed since it was read.
  • 422validation_failedValidation failed.