Coupons

Update locale strings for a Coupon

Sets the localised name and/or description for the given locale. Pass null to clear a translation and fall back to the default value.

put/shop/coupons/{couponId}/locale-strings/{locale}

Request body

namestring nullable

The localised name for this coupon in the given locale.

descriptionstring nullable

The localised description for this coupon in the given locale.

Example request

{
  "name": "Free 30 minute massage",
  "description": "Enjoy a free 30 minute massage as a thanks for being a loyal member"
}

Response

The locale strings for the coupon were successfully updated.

Example response

{
  "data": {
    "name": "Free 30 minute massage",
    "description": "Enjoy a free 30 minute massage as a thanks for being a loyal member"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.