Skip to content

Set order naming

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

Set the prefix and suffix orders placed from now on are named with; orders already placed keep their names.

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

  • prefixstringrequired

    Up to 12 letters, digits and # - _ /.; empty for none.

  • suffixstringrequired

Returns

200 Saved.

Errors

  • 422validation_failedToo long, or a character a waybill can't print.