Change event type for selected billing terms and POBs in a group
Authentication
Authorizationstring
API Key authentication via header
Path parameters
id
Contract Id
groupId
Billing Term Group Id
Request
This endpoint expects an object.
billingTermIds
IDs of the billing terms (within the group) whose event type should be set to toEventTypeId. Pick exactly the rows to change — in a many-to-many group the others are left untouched. May be empty when only performance obligations are being changed.
performanceObligationIds
IDs of the performance obligations (within the group) whose event type should be set to toEventTypeId. May be empty when only billing terms are being changed.
toEventTypeId
The event type to assign to the selected billing terms and performance obligations. Must belong to the merchant.
Response
Event type changed for the selected billing terms and performance obligations within the group; any rows not listed in the request are left untouched. The change is applied atomically and is only accepted if the group’s event types stay in sync afterward.
payload
Response payload, will be empty when success is false
success
Boolean with true=success, false=failure
message
Plain-text description of the result
error
json element with any error messages or warnings
Errors
400
Bad Request Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error

