List discount codes
discounts.readAlphaAlpha: This endpoint is available only to approved API integrations and may change without notice.
Lists active discount codes for the authenticated shop. Filter by campaign or code when resolving a code at checkout. The response includes reward configuration needed to apply the offer.
api.superfiliate.com/api/v1/discount_codesQuery parameters2
campaign_idcodeResponses
A list of discount codes
array of objects — item fields
idintegercodestringCode associated with this resource.
campaign_idinteger | nullIdentifier for the related campaign.
reward_unitstringThe reward unit for this resource.
reward_valuestringThe reward value for this resource.
minimum_subtotal_valuestringThe minimum subtotal value for this resource.
lead_discount_new_customers_onlybooleanThe lead discount new customers only for this resource.
lead_reward_unitstringThe lead reward unit for this resource.
lead_reward_valuestringThe lead reward value for this resource.
lead_discount_min_valuestring | nullThe lead discount min value for this resource.
lead_apply_once_per_customerbooleanThe lead apply once per customer for this resource.
recovered_customer_reward_unitstring | nullThe recovered customer reward unit for this resource.
recovered_customer_reward_valuestring | nullThe recovered customer reward value for this resource.
reject_recovered_customerbooleanThe reject recovered customer for this resource.
commission_include_shippingbooleanThe commission include shipping for this resource.
commission_include_taxesbooleanThe commission include taxes for this resource.
cashback_valuestringThe cashback value for this resource.
The cashback duration for this resource.
valueintegerThe value for this resource.
unitstringThe unit for this resource.
attribution_window_daysinteger | nullThe attribution window days for this resource.
time_to_process_in_hoursintegerThe time to process in hours for this resource.
reward_currencystringThe reward currency for this resource.
lead_discount_typestringThe lead discount type for this resource.
lead_reward_usage_limitinteger | nullThe lead reward usage limit for this resource.