Skip to content

Update preferences

PUT/admin/v1/stores/{store_id}/online-store/preferences
  • themes:manage

Replace the preferences. Development stores keep their password.

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

  • shop-api-versionYYYY-MM

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

Body

  • enabledbooleanrequired
  • password_enabledbooleanrequired
  • passwordstringrequired

    1–100 characters.

  • password_messagestring
  • home_titlestring
  • home_descriptionstring
  • social_image_urlstring · or null
  • social_image_idstring · or null

    A ready image of the file library, for social sharing.

Returns

200 Saved.

Errors

  • 403forbiddenMissing permission.
  • 422validation_failedValidation failed.