Facility discounts endpoints
ID of the facility you want to add the discount to. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).
FacilityDiscountForCreation
The context of the discount. This is used to determine the conditions under which the discount can be applied.
The priority of the discount. Discounts with the lowest priority value are applied first. Value must be greater than 0 and smaller than 1000.
1Determines the price type this discount can be applied to.
The discount was successfully created. The Location header contains the URL of the discount.
Invalid input. See response for details
Your user is not allowed to operate against this API instance
Your user, although recognized, is not authorized to use this endpoint
Facility not found
ID of the facility you want to get the discounts for. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).
all entities after given Id
number of facilities to show
25The discounts were successfully retrieved. The result is in the body.
FacilityDiscountPaginatedResult
Your user is not allowed to operate against this API instance
Your user, although recognized, is not authorized to use this endpoint
Facility not found
ID of the facility you want to get the discount for. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).
ID of the discount you want to get
The discount was successfully retrieved. The result is in the body.
FacilityDiscount
Your user is not allowed to operate against this API instance
Your user, although recognized, is not authorized to use this endpoint
Facility or discount not found
ID of the facility you want to delete the discount from. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).
ID of the discount you want to delete
The discount was successfully deleted. The result is in the body.
No content
Your user is not allowed to operate against this API instance
Your user, although recognized, is not authorized to use this endpoint
Facility or discount not found
No content
ID of the facility you want to update the discount for. Also accepts tenantFacilityId in urn format (e.g. urn:fft:facility:tenantFacilityId:{your-tenant-facility-id}).
ID of the discount you want to update
FacilityDiscountForUpdate
The context of the discount. This is used to determine the conditions under which the discount can be applied.
The priority of the discount. Discounts with the lowest priority value are applied first. Must be greater than 0 and smaller than 1000.
1Determines the price type this discount can be applied to.
The version of the document to be used in optimistic locking mechanisms.
42The discount was successfully updated. The result is in the body.
FacilityDiscount
Invalid input. See response for details
Your user is not allowed to operate against this API instance
Your user, although recognized, is not authorized to use this endpoint
Facility or discount not found
Last updated