PartnerReference
A reference represents one article in the buyer's master data.
All logistics units for that code are grouped under logistics_units[].
Matched by code for idempotency: resubmitting the same code updates
the existing reference and its nested collections.
- codeType: stringmax length:256required
Unique partner identifier; idempotency key.
- nameType: stringmax length:256required
Reference display name.
- productType: array object[] · PartnerReferenceProductKind[] 1…
_kinds requiredThe reference's category hierarchy as an ordered array, root → leaf. Each entry is resolved against
product_kind.external_idwithin the target workspace; the reference is linked to the leaf node. The order is part of the contract and must always be the same.- codeType: stringrequired
Partner category code at this hierarchy level. Free string — no padding enforced. Examples:
"22","0213","795". Resolved againstproduct_kind.external_idwithin the target workspace. - nameType: stringrequired
Human-readable label for the category level.
- attributesType: array object[] · PartnerReferenceAttribute[]
EAV attributes attached to the reference.
- attributeType: stringrequired
Attribute key (e.g.
origin,size,vat_rate). - valuerequired
Attribute value. May be sent as either string (
"5.5") or number (5.5); the server accepts both. The list of attribute keys is open; partners send whatever is relevant for their integration.- Type: string
Attribute value. May be sent as either string (
"5.5") or number (5.5); the server accepts both. The list of attribute keys is open; partners send whatever is relevant for their integration.
- deletedType: string | null Format: date-time
_at Optional RFC 3339 timestamp, a per-row soft-delete signal. Applies only to the
(code, logistics-unit)rows in this request. Once the timestamp has passed, the row is treated asinactive.- Past-dated values are immediately effective (the row reads as inactive on the next call).
- Future values keep the row active until the timestamp passes.
- Omitting the field on a later POST clears any previously stored value.
- descriptionType: string
Free-text description. Always a string, empty (
"") when no value, nevernull. - logisticsType: array object[] · PartnerReferenceLogisticsUnit[]
_units All logistics units for this reference. One entry per logistics unit. At least one logistics unit is expected for sellable references.
One logistics unit. Server-side, each entry produces its own
referencesrow keyed by<outer reference.code>-<code>(joined with a-), plus areference_box_typesjunction row resolvingbox_type_codeagainst the sharedbox_typesdictionary.- codeType: stringmax length:32required
Partner logistics-unit code (scoped to this reference, e.g.
01). - net
_weight requiredNet weight of the logistics unit in kg. Accepts string (
"4.20") or number (4.20).- Type: string
Net weight of the logistics unit in kg. Accepts string (
"4.20") or number (4.20).
- pieces
_per _unit requiredNumber of consumer units per logistics unit. Accepts string (
"12") or integer (12).- Type: string
Number of consumer units per logistics unit. Accepts string (
"12") or integer (12).
- boxType: string
_type _code max length:32Short code for the physical box type (e.g.
CRT,COL,2PL). Resolved againstbox_types.external_code; auto-created if unknown. Optional — omit when the logistics unit has no physical container. - units
_per _pallet Average number of logistics units per pallet. Accepts string (
"144") or integer (144).- Type: string
Average number of logistics units per pallet. Accepts string (
"144") or integer (144).
- metadataType: object
Partner-specific traceability payload. Stored as-is by Consentio. Open-ended object; partners send whatever keys are relevant.
- propertyType: anything
Name
- organicType: boolean
Whether the reference is organic-certified.
- statusType: string enum
On create: defaults to
inactive, any value other thanactiveresults ininactive. On update: set to the value provided (active/inactive); if omitted, left unchanged.inactiveis a soft delete (the row is kept but hidden from active results).values- active
- inactive