Skip to content

Save return settings

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

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

  • customer_requestsbooleanrequired

    Customers can ask from their account.

  • window_daysintegerrequired

    Days a customer may ask, from delivery, or from the last shipment when delivery isn't known (1–365).

  • instructionsstring · or null

    Shown on the request page and in the approval email.

  • auto_approveobject · or null

    Customers' requests approved without a review (no label; staff add one later if needed). null: every request waits for staff.

Returns

200 Saved.

Errors

  • 422validation_failedInvalid input.