Product Documentation
Auto Light Dark
Auto Light Dark

PROMOTION API

PROMOTION is the API reference for creating, retrieving, linking, and deleting promotion-related data such as discount groups, vouchers, customer links, and store groups.

HTTP return codes

The API uses standard HTTP return codes for successful calls, bad requests, missing resources, and server-side errors.

Supported encoding

  • UTF-8

API functions

The source topic documents these functions:

  • Creation of discount group.

  • Get created discount group.

  • Link vouchers to customer ID.

  • Get vouchers linked to customer ID.

  • Link discount groups to customer ID.

  • Unlink discount groups from customer ID.

  • Link customer IDs to discount group.

  • Unlink customer IDs from discount group.

  • Get linked discount groups for customer ID.

  • Delete discount group.

  • Get discount groups for voucher ID.

  • Get discount groups for voucher.

  • Create store group.

  • Delete store group.

  • Get store group.

Revision history

The source topic includes a Promotion API revision history section. Keep this page aligned with the source when API revisions are published.