Updates affiliate discount configuration of a product.
Requires the stores.products.update permission.
Your API key goes here
The ID of the store.
The ID of the product to update.
The Komerza.Common.Forms.Products.UpdateProductAffiliateDiscountForm with new configuration.
Form for updating a product's affiliate discount configuration
Defines how affiliate discounts should be applied to a product.
0, 1, 2 Custom affiliate discount percentage (0-100) when AffiliateDiscountMode is set to Custom. If null or when mode is not Custom, this value is ignored and the affiliate's PercentageOff is used.
0 <= x <= 100The object was successfully updated.
Represents a default generic response for API endpoints.
Indicates whether the operation or response was successful.
A descriptive message providing additional context or information about the response.
The error code (if there was an error) to use when referencing the error
Represents the data associated with a response.