Skip to main content

create

Create coupon
These fields are nested and cannot be set with flags. Use --edit to fill in a pre-built request body, or --data @file.json.
  • metadata (object)
  • rules (object)

delete

Delete coupon

list

Query coupons
These fields are nested and cannot be set with flags. Use --edit to fill in a pre-built request body, or --data @file.json.
  • coupon_codes (array)
  • coupon_ids (array)
  • filters (array)
  • sort (array)

lookup

Get coupon by code

retrieve

Get coupon

update

Update coupon
These fields are nested and cannot be set with flags. Use --edit to fill in a pre-built request body, or --data @file.json.
  • metadata (object)