CoworkerProducts
Update CoworkerProduct
Update an existing CoworkerProduct record.
PUT
Update CoworkerProduct
Updates an existing CoworkerProduct record. You must include the
Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the CoworkerProduct-Edit role.Enums
eRecurrentChargePattern — RepeatCycle values
eRecurrentChargePattern — RepeatCycle values
Request Body
Required Fields
ID of the customer purchasing this product; the customer must be accessible at the selected location..
ID of the location that owns and issues this product sale; set automatically from the tool’s location context..
ID of the product being sold; the product must be available to the selected customer at this location..
Number of product units to sell; must be at least 1 and multiplies price and included benefits..
Recurring schedule pattern: PricePlan, Day, Week, Month, Year, or LastDayOfMonth. PricePlan follows the customer’s main contract; prefer ContractProduct for plan-linked recurring products..
Optional Fields
Whether to activate included passes, time credit, and booking credit immediately, before the sale is invoiced or paid..
Optional unit-price override in the product currency; when omitted, the product’s current price is used, then multiplied by Quantity..
Whether this is a recurring product sale rather than a one-off sale; requires scheduling values for non-PricePlan repeat cycles..
Positive number of RepeatCycle units between recurring charges; required when RegularCharge is true and RepeatCycle is not PricePlan..
Date and time when this sale is next due for invoicing; required for recurring sales whose RepeatCycle is not PricePlan..
Optional date and time from which recurring invoicing begins; a future value delays activation until that date..
Optional exclusive end date for recurring invoicing; no later charge is created when the next invoicing date reaches this value..
Optional sale date for this product sale; when omitted, reports use the record creation date..
Optional date and time by which payment is due; benefits can auto-activate when it has passed and the discounted price is zero..
Whether the sale price is prorated against the customer’s main contract billing period; the product’s prorating setting can also apply..
Whether the deposit represented by this sale is refunded when its connected contract is cancelled; applies only to deposit products..
Code Examples
Response
200
Example Response
400
Example Response