# Get coupon by coupon id **GET /V1/coupons/{couponId}** Get coupon by coupon id. ## Servers - https://magento2.winkelstraat.mac/rest/all: https://magento2.winkelstraat.mac/rest/all () ## Parameters ### Path parameters - **couponId** (integer) ## Responses ### 200 200 Success. #### Body: (object) - **coupon_id** (integer) Coupon id - **rule_id** (integer) The id of the rule associated with the coupon - **code** (string) Coupon code - **usage_limit** (integer) Usage limit - **usage_per_customer** (integer) Usage limit per customer - **times_used** (integer) The number of times the coupon has been used - **expiration_date** (string) Expiration date - **is_primary** (boolean) The coupon is primary coupon for the rule that it's associated with - **created_at** (string) When the coupon is created - **type** (integer) Of coupon - **extension_attributes** (object) ExtensionInterface class for @see \Magento\SalesRule\Api\Data\CouponInterface ### 401 401 Unauthorized #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace ### 400 400 Bad Request #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace ### 500 Internal Server error #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace ### default Unexpected error #### Body: (object) - **message** (string) Error message - **errors** (array[object]) Error details - **code** (integer) Error code - **parameters** (array[object]) Error parameters item - **trace** (string) Stack trace [Powered by Bump.sh](https://bump.sh)