Retrieves the location of a discount code.The discount code's location is returned in the location header, not in the DiscountCode object itself.
Depending on your HTTP client, the location of the discount code might follow the location header automatically.