ObjectCreateRequest
RequestSent in requests. Its values are closed: anything not listed is refused.
Attributes
2A new object.
8 attributes of data
The object's type; it must not be archived (BILLING_OBJECT_TYPE_ARCHIVED).
Property values to set. On a create every value starts with no known start (1900-01-01); effective_from is not used.
9 attributes of each item
The value of a contact property (a contact of this organization).
A multi-valued property's wanted current values, first = primary. Omitted or null leaves its values as they are; an empty list ends them all. Ignored for a single-value property.
4 attributes of each item
The value of a contact property (a contact of this organization).
Corrects the start of a value that is already current on a dated property (omit, or send the stored date, to leave it). Refused with a 400 pointing at it for a value that is not current, a static property, or a start that would overlap the value's own earlier interval.
The day a changed value of a dated property starts. Ignored for a static property.
Corrected dates of stored items, by item id (dated multi-valued properties). A value that handed over moves along: one that ended the day before a corrected start keeps ending the day before it.
Details
Refused with a 400 naming the item and a reason (static, not_found, not_ended, before_open_start, end_before_start, ends_before_start, starts_after_end, overlap).
Corrected start dates of stored slices of a dated single-value property. Refused with a 400 naming the slice and a reason (static, not_found, before_open_start, overlap).
Your own id for the object, unique per organization; on_conflict resolves a create against it.
What a create does when a record of the same resource already holds the sent external_ref. error: 409 EXTERNAL_REF_EXISTS with existing_id. return: 200 with the existing record, unchanged.
One of error, return, update
Details
update: apply the sent fields to it as a PATCH would and answer 200; refused like a PATCH when the record is no longer editable.