Get Purchase Limit Rule by Code
Gets purchase limit rule details by code.
Authorizations
JWT Authorization header using the Bearer scheme.
Path Parameters
The code of the purchase limit rule.
Query Parameters
limits which fields are returned in the response body
Response
OK
Purchase Limit Rule contract
Unique identifier of the PurchaseLimit.
List of customer rule codes that apply to the PurchaseLimit
PurchaseLimit description
Indicates if the PurchaseLimit is enabled
End of the rule's effective window. Null = never expires. Must be >= StartDate when both supplied.
Read-only. Computed server-side: true when the current UTC instant is inside the effective window (StartDate null/≤now AND EndDate null/≥now), false otherwise. A rule with no dates is always active. This reflects the effective window alone and does not incorporate the enabled flag.
Maximum quantity of the PurchaseLimit
Metadata for the PurchaseLimit which is a json format, used to store additional information
PurchaseLimit name
List of product rule codes that apply to the PurchaseLimit
Rank of the PurchaseLimit
Start of the rule's effective window. Null = no lower bound (already active).
Indicates if the PurchaseLimit is valid for all sites
List of site IDs that the PurchaseLimit is valid for

