Save return settings
PUT
/ admin/ v1/ stores/ {store_id}/ return-settings- settings:write
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
customer_requestsbooleanrequiredCustomers can ask from their account.
window_daysintegerrequiredDays a customer may ask, from delivery, or from the last shipment when delivery isn't known (1–365).
instructionsstring · or nullShown on the request page and in the approval email.
auto_approveobject · or nullCustomers' requests approved without a review (no label; staff add one later if needed).
null: every request waits for staff.
Returns
200 Saved.
Errors
- 422
validation_failedInvalid input.