/api/v1/sales/{id}Retrieve a single sale by its ID.
Requires the Sales:View permission.
Path parameters
idstring· uuidrequiredThe sale ID.
Sale object
idstring· uuidrequiredThe sale ID.
namestringrequiredInternal sale name.
discountPercentagenumberrequiredDiscount percentage, 0–100.
applicationScopestringrequiredWhat the sale applies to.
- Values:
storecategorypackage
categoryIdsstring[]· uuidCategories on sale (when scope is
category).packageIdsstring[]· uuidPackages on sale (when scope is
package).isEnabledbooleanrequiredWhether the sale is currently active.
startDatestring· date-timeSale start time.
endDatestring· date-timeSale end time.
createdAtstring· date-timerequiredCreation timestamp.
updatedAtstring· date-timerequiredLast update timestamp.