Commerce
Add codes to a discount
Adds up to 250 more codes to a code discount, for example one per influencer. The platform adds them in the background. Needs discounts.codes, which WooCommerce stores do not have.
Billing: Request; paid actions are priced in credits (see GET /v1/messaging/prices) · Rate limit: 60/min
post/v1/messaging/commerce/discounts/{discountId}/codes
Request
- Base URL: https://apihub.co.il
- URL: https://apihub.co.il/v1/messaging/commerce/discounts/{discountId}/codes
- Auth: HTTP bearer
Path parameters
discountIdstring required
Platform-native id.
Headers
Idempotency-Keystring
Replay-safe: the same execution is returned instead of charging twice
X-Tagstring
Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…
Request body
Response
Completed
Changes
No recorded changes to this operation across all 2 revisions of this API.