v1

latestOpenAPI 3.0.42026-07-2685196386.6 KB
Coupon

Get coupon

Gets a coupon by ID. Requires the stores.coupons.view permission.

get/stores/{storeId}/coupons/{couponId}

Path parameters

storeIdstring uuid required

The ID of the store to get the coupons in

couponIdstring uuid required

The ID of the coupon to get

Response

The object was successfully returned.

successboolean required

Indicates whether the operation or response was successful.

messagestring nullable

A descriptive message providing additional context or information about the response.

codestring nullable

The error code (if there was an error) to use when referencing the error