PartnerPurchaseNeeds
List of purchase needs
- purchaseType: array object[] · PartnerPurchaseNeed[]
_needs Array of purchase needs matching the filters
A purchase need (procurement demand) represents a buyer's request for a specific product quantity to be delivered to a location within a date range.
Each purchase need is a flat record—one record per product demand. The
codefield is used for idempotency: resubmitting the same code will update the existing record rather than create a duplicate.- codeType: stringmax length:256required
Unique identifier for the purchase need in the partner's system. Used as the idempotency key: submitting a record with the same code will update the existing record rather than create a duplicate.
- endType: stringFormat: date
_date requiredEnd of the delivery window (ISO 8601)
- externalType: string
_status max length:32requiredFulfillment status of the purchase need in the partner's system. Free-form string—interpretation is partner-specific.
- quantityType: numberFormat: doublerequired
Requested quantity. The unit of measure is specified by
quantity_unit. Accepts both integers and decimals; integers are cast to double internally. - quantityType: stringenum
_unit requiredUnit of measure for the quantity.
values- box
- pallet
- kg
- piece
- unknown
- referenceType: string
_code max length:256requiredStandard product identifier in the partner's system. Can be an internal code, EAN, SKU, or any product reference agreed upon during integration setup.
- startType: stringFormat: date
_date requiredStart of the delivery window (ISO 8601)
- createdType: stringFormat: date-time
_at read-onlyTimestamp when the purchase need was created in Consentio (read-only)
- deliveryType: string
_address _code max length:20Code identifying the delivery address or distribution depot
- idType: integerFormat: uintread-only
Consentio internal ID (read-only, assigned on creation)
- logisticsType: string
_unit _code max length:20Partner's code identifying the logistics unit type (e.g., pallet type, crate type, packaging format).
- metadataType: object
Partner-specific metadata fields. Free-form key-value pairs— interpretation depends on the integration context.
- storageType: string
_location _code max length:20Identifier for the delivery/storage location (e.g., warehouse code, ripening facility code). Interpretation is partner-specific.
- tenderType: stringenum
_kind Type of tender/offer associated with this purchase need.
values- standard
- promotion
- regional
_promotion - weekend
_flash _offer - promotion
_radio - promotion
_leaflet
- updatedType: stringFormat: date-time
_at read-onlyTimestamp when the purchase need was last updated in Consentio (read-only)

