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
integer
required
The Id of the CoworkerProduct record to update.
integer
required
ID of the coworker linked to this record.
integer
required
ID of the business linked to this record.
integer
required
ID of the product linked to this record.
integer
required
Number of units.
integer
required
Repeat cycle pattern. PricePlan can only be used if the customer has a main contract; prefer ContractProduct instead of CoworkerProducts repeating on PricePlan.
number
required
Credit amount.
number
required
Discount amount.
Optional Fields
string
Optional notes or comments about this coworker product.
string
Purchase order.
boolean
Activate immediately, releasing any benefits (credits or passes) even before the product is invoiced and paid.
boolean
Invoice this customer for this product instead of the paying member of their team.
number
Price override.
boolean
Whether this is a regular charge.
integer
Number of repeat units.
string
Invoice on date.
string
Repeat from date.
string
Repeat until date.
string
Sale date.
string
Due date.
boolean
Whether it has been invoiced.
boolean
Whether mrm reminded is enabled.
boolean
Apply pro-rating.
string
ID of the proposal unique associated with this record.
integer
Coworker invoice ID.
string
Coworker invoice number.
boolean
Whether coworker invoice is paid.
Code Examples
Response
200
integer
HTTP status code.
200 on success.string
A human-readable message confirming the update.
object
Contains the
Id of the updated record.boolean
true if the coworkerproduct was updated successfully.array
null on success.Example Response
400
string
A summary of the validation error(s), in the format
PropertyName: error message.any
null on validation failure.object[]
Array of validation errors.
boolean
false when the request fails validation.Example Response
Update CoworkerProduct