promotions

Fetch promotion

Returns a promotion by its identifier.

get/api/v1/promotions/{id}

Path parameters

idstring uuid required
Example:01920000-0000-7000-8000-000000000000

Promotion identifier (UUID).

Response

Promotion found.

idstring required
codestring required
namestring required
descriptionstring nullable required
activeboolean required
validityobject required
eligibilityobject required
benefitobject required
item_restrictionsobject[] required
conditionsobject[] required
usage_limitsobject required
accumulationobject required
metadataobject nullable required
created_atstring required
updated_atstring required

Changes

Changed in 2 of the 9 revisions of this API.1515

    • added the required property accumulation to the response with the 200 status

      response-required-property-added

    • added the required property active to the response with the 200 status

      response-required-property-added

    • added the required property benefit to the response with the 200 status

      response-required-property-added

    • added the required property code to the response with the 200 status

      response-required-property-added

    • added the required property conditions to the response with the 200 status

      response-required-property-added

    • added the required property created_at to the response with the 200 status

      response-required-property-added

    • added the required property description to the response with the 200 status

      response-required-property-added

    • added the required property eligibility to the response with the 200 status

      response-required-property-added

    • added the required property id to the response with the 200 status

      response-required-property-added

    • added the required property item_restrictions to the response with the 200 status

      response-required-property-added

    • added the required property metadata to the response with the 200 status

      response-required-property-added

    • added the required property name to the response with the 200 status

      response-required-property-added

    • added the required property updated_at to the response with the 200 status

      response-required-property-added

    • added the required property usage_limits to the response with the 200 status

      response-required-property-added

    • added the required property validity to the response with the 200 status

      response-required-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the required property accumulation from the response with the 200 status

      response-required-property-removed

    • removed the required property active from the response with the 200 status

      response-required-property-removed

    • removed the required property benefit from the response with the 200 status

      response-required-property-removed

    • removed the required property code from the response with the 200 status

      response-required-property-removed

    • removed the required property conditions from the response with the 200 status

      response-required-property-removed

    • removed the required property created_at from the response with the 200 status

      response-required-property-removed

    • removed the required property description from the response with the 200 status

      response-required-property-removed

    • removed the required property eligibility from the response with the 200 status

      response-required-property-removed

    • removed the required property id from the response with the 200 status

      response-required-property-removed

    • removed the required property item_restrictions from the response with the 200 status

      response-required-property-removed

    • removed the required property metadata from the response with the 200 status

      response-required-property-removed

    • removed the required property name from the response with the 200 status

      response-required-property-removed

    • removed the required property updated_at from the response with the 200 status

      response-required-property-removed

    • removed the required property usage_limits from the response with the 200 status

      response-required-property-removed

    • removed the required property validity from the response with the 200 status

      response-required-property-removed

    This revision also has 36 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog