Redeemable code linked to a price rule that applies a discount at checkout.
POST /admin/api/2024-04/price_rules/{id}/discount_codes.json