Download OpenAPI specification:
Logistics operations API for the 4klyft platform.
This API provides comprehensive endpoints for managing:
All API endpoints (except /api/docs and /api/v1/iam/auth/*) require JWT Bearer token authentication.
Include the token in the Authorization header:
Authorization: Bearer <your-jwt-token>
API requests are rate-limited to ensure fair usage. Standard limits are:
A purchase order — the buy-side counterpart of a Sales Order. Placed against a supplier, carries priced lines referencing purchased items by opaque ResourceUri, and moves through Draft → Approved → Issued → Acknowledged → PartiallyReceived → Received → Closed (or Cancelled).
Receiving is NOT a user action on this resource — to receive against a PO you create a Goods Receipt with the PO as its subject; the received quantities flow back onto the PO lines automatically.
Retrieve a paginated list of purchase orders, filterable by status and supplier.
| page | integer Default: 1 The collection page number |
{- "totalItems": 0,
- "search": {
- "@type": "string",
- "template": "string",
- "variableRepresentation": "string",
- "mapping": [
- {
- "@type": "string",
- "variable": "string",
- "property": "string",
- "required": true
}
]
}, - "view": {
- "@id": "string",
- "@type": "string",
- "first": "string",
- "last": "string",
- "previous": "string",
- "next": "string"
}, - "member": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "partnerId": "string",
- "number": "PO2600001",
- "status": "draft",
- "currency": "USD",
- "totalCents": 125000,
- "estimatedTaxCents": 25000,
- "estimatedGrandTotalCents": 150000,
- "expectedDeliveryAt": "string",
- "incoterms": "EXW",
- "paymentTerms": {
- "netDays": 0,
- "note": "string"
}, - "lines": [
- {
- "lineId": "string",
- "shippableRef": "string",
- "description": "string",
- "quantityOrdered": 0,
- "quantityReceived": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "taxEstimateCents": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}
]
}Draft a purchase order
The new PurchaseOrder resource
| supplierId required | string |
| currency required | string = 3 characters |
| expectedDeliveryAt | string or null |
| incoterms | string or null Enum: "EXW" "FCA" "FAS" "FOB" "CFR" "CIF" "CPT" "CIP" "DAP" "DPU" "DDP" |
PurchaseOrderPaymentTermsInput (object) or null | |
Array of objects (PurchaseOrderLineRequest) |
{- "supplierId": "string",
- "currency": "str",
- "expectedDeliveryAt": "string",
- "incoterms": "EXW",
- "paymentTerms": {
- "netDays": 0,
- "note": "string"
}, - "lines": [
- {
- "shippableRef": "string",
- "description": "string",
- "quantityOrdered": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string",
- "lineId": "string"
}
]
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "partnerId": "string",
- "number": "PO2600001",
- "status": "draft",
- "currency": "USD",
- "totalCents": 125000,
- "estimatedTaxCents": 25000,
- "estimatedGrandTotalCents": 150000,
- "expectedDeliveryAt": "string",
- "incoterms": "EXW",
- "paymentTerms": {
- "netDays": 0,
- "note": "string"
}, - "lines": [
- {
- "lineId": "string",
- "shippableRef": "string",
- "description": "string",
- "quantityOrdered": 0,
- "quantityReceived": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "taxEstimateCents": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Get a purchase order
| id required | string PurchaseOrder identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "partnerId": "string",
- "number": "PO2600001",
- "status": "draft",
- "currency": "USD",
- "totalCents": 125000,
- "estimatedTaxCents": 25000,
- "estimatedGrandTotalCents": 150000,
- "expectedDeliveryAt": "string",
- "incoterms": "EXW",
- "paymentTerms": {
- "netDays": 0,
- "note": "string"
}, - "lines": [
- {
- "lineId": "string",
- "shippableRef": "string",
- "description": "string",
- "quantityOrdered": 0,
- "quantityReceived": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "taxEstimateCents": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Amend a draft purchase order's trade terms (Incoterms + payment terms)
| id required | string PurchaseOrder identifier |
The updated PurchaseOrder resource
| incoterms | string or null Enum: "EXW" "FCA" "FAS" "FOB" "CFR" "CIF" "CPT" "CIP" "DAP" "DPU" "DDP" |
PurchaseOrderPaymentTermsInput (object) or null |
{- "incoterms": "EXW",
- "paymentTerms": {
- "netDays": 0,
- "note": "string"
}
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "partnerId": "string",
- "number": "PO2600001",
- "status": "draft",
- "currency": "USD",
- "totalCents": 125000,
- "estimatedTaxCents": 25000,
- "estimatedGrandTotalCents": 150000,
- "expectedDeliveryAt": "string",
- "incoterms": "EXW",
- "paymentTerms": {
- "netDays": 0,
- "note": "string"
}, - "lines": [
- {
- "lineId": "string",
- "shippableRef": "string",
- "description": "string",
- "quantityOrdered": 0,
- "quantityReceived": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "taxEstimateCents": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Record supplier acknowledgement of an issued purchase order
| id required | string PurchaseOrder identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "partnerId": "string",
- "number": "PO2600001",
- "status": "draft",
- "currency": "USD",
- "totalCents": 125000,
- "estimatedTaxCents": 25000,
- "estimatedGrandTotalCents": 150000,
- "expectedDeliveryAt": "string",
- "incoterms": "EXW",
- "paymentTerms": {
- "netDays": 0,
- "note": "string"
}, - "lines": [
- {
- "lineId": "string",
- "shippableRef": "string",
- "description": "string",
- "quantityOrdered": 0,
- "quantityReceived": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "taxEstimateCents": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Approve a draft purchase order
| id required | string PurchaseOrder identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "partnerId": "string",
- "number": "PO2600001",
- "status": "draft",
- "currency": "USD",
- "totalCents": 125000,
- "estimatedTaxCents": 25000,
- "estimatedGrandTotalCents": 150000,
- "expectedDeliveryAt": "string",
- "incoterms": "EXW",
- "paymentTerms": {
- "netDays": 0,
- "note": "string"
}, - "lines": [
- {
- "lineId": "string",
- "shippableRef": "string",
- "description": "string",
- "quantityOrdered": 0,
- "quantityReceived": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "taxEstimateCents": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Creates a Payables bill linked to this purchase order. Rejected with 409 (INVALID_OPERATION) if the PO has not reached at least APPROVED status.
| id required | string PurchaseOrder identifier |
The new PurchaseOrder resource
| billNumber required | string <= 255 characters |
| currency required | string = 3 characters |
| totalAmountInCents required | integer > 0 |
| subtotalInCents | integer or null >= 0 Net (tax-exclusive) amount, in minor units. Optional. |
| totalTaxInCents | integer or null >= 0 Input VAT the vendor charged, in minor units. Optional. |
| issuedAt required | string |
| dueAt required | string |
{- "billNumber": "string",
- "currency": "str",
- "totalAmountInCents": 0,
- "subtotalInCents": 0,
- "totalTaxInCents": 0,
- "issuedAt": "string",
- "dueAt": "string"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "tenantId": "string",
- "partnerId": "string",
- "partnerName": "string",
- "billNumber": "string",
- "currency": "string",
- "totalAmount": 0,
- "subtotalCents": 0,
- "totalTaxCents": 0,
- "subject": "string",
- "selfBilled": false,
- "status": "string",
- "issuedAt": "string",
- "dueAt": "string",
- "reviewedBy": "string",
- "reviewedAt": "string",
- "approvedBy": "string",
- "approvedAt": "string",
- "approvalNotes": "string",
- "scheduledPaymentDate": "string",
- "paidAt": "string",
- "paymentReference": "string",
- "paymentMethod": "string",
- "disputedBy": "string",
- "disputedAt": "string",
- "disputeReason": "string",
- "cancellationReason": "string",
- "createdAt": "string",
- "updatedAt": "string"
}Cancel a purchase order
| id required | string PurchaseOrder identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "partnerId": "string",
- "number": "PO2600001",
- "status": "draft",
- "currency": "USD",
- "totalCents": 125000,
- "estimatedTaxCents": 25000,
- "estimatedGrandTotalCents": 150000,
- "expectedDeliveryAt": "string",
- "incoterms": "EXW",
- "paymentTerms": {
- "netDays": 0,
- "note": "string"
}, - "lines": [
- {
- "lineId": "string",
- "shippableRef": "string",
- "description": "string",
- "quantityOrdered": 0,
- "quantityReceived": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "taxEstimateCents": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Close a fully-received purchase order
| id required | string PurchaseOrder identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "partnerId": "string",
- "number": "PO2600001",
- "status": "draft",
- "currency": "USD",
- "totalCents": 125000,
- "estimatedTaxCents": 25000,
- "estimatedGrandTotalCents": 150000,
- "expectedDeliveryAt": "string",
- "incoterms": "EXW",
- "paymentTerms": {
- "netDays": 0,
- "note": "string"
}, - "lines": [
- {
- "lineId": "string",
- "shippableRef": "string",
- "description": "string",
- "quantityOrdered": 0,
- "quantityReceived": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "taxEstimateCents": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Issue an approved purchase order to the supplier
| id required | string PurchaseOrder identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "partnerId": "string",
- "number": "PO2600001",
- "status": "draft",
- "currency": "USD",
- "totalCents": 125000,
- "estimatedTaxCents": 25000,
- "estimatedGrandTotalCents": 150000,
- "expectedDeliveryAt": "string",
- "incoterms": "EXW",
- "paymentTerms": {
- "netDays": 0,
- "note": "string"
}, - "lines": [
- {
- "lineId": "string",
- "shippableRef": "string",
- "description": "string",
- "quantityOrdered": 0,
- "quantityReceived": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "taxEstimateCents": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Add a line to a draft purchase order
| id required | string PurchaseOrder identifier |
The new PurchaseOrder resource
| shippableRef required | string |
| description required | string <= 1000 characters |
| quantityOrdered | integer > 0 |
| unitPriceCents | integer >= 0 |
| taxRate | number or null >= 0 |
| destinationWarehouseId | string or null |
| expectedReceiptDate | string or null |
| lineId | string or null |
{- "shippableRef": "string",
- "description": "string",
- "quantityOrdered": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string",
- "lineId": "string"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "partnerId": "string",
- "number": "PO2600001",
- "status": "draft",
- "currency": "USD",
- "totalCents": 125000,
- "estimatedTaxCents": 25000,
- "estimatedGrandTotalCents": 150000,
- "expectedDeliveryAt": "string",
- "incoterms": "EXW",
- "paymentTerms": {
- "netDays": 0,
- "note": "string"
}, - "lines": [
- {
- "lineId": "string",
- "shippableRef": "string",
- "description": "string",
- "quantityOrdered": 0,
- "quantityReceived": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "taxEstimateCents": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Remove a line from a draft purchase order
| id required | string PurchaseOrder identifier |
| lineId required | string PurchaseOrder identifier |
{- "type": "/errors/validation-error",
- "title": "Validation Error",
- "status": 400,
- "detail": "The provided input is invalid",
- "violations": [
- {
- "propertyPath": "code",
- "message": "This value should not be blank."
}
], - "instance": "string"
}Update a line on a draft purchase order
| id required | string PurchaseOrder identifier |
| lineId required | string PurchaseOrder identifier |
The updated PurchaseOrder resource
| description | string <= 1000 characters |
| quantityOrdered | integer > 0 |
| unitPriceCents | integer >= 0 |
| taxRate | number or null >= 0 |
| destinationWarehouseId | string or null |
| expectedReceiptDate | string or null |
{- "description": "string",
- "quantityOrdered": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "partnerId": "string",
- "number": "PO2600001",
- "status": "draft",
- "currency": "USD",
- "totalCents": 125000,
- "estimatedTaxCents": 25000,
- "estimatedGrandTotalCents": 150000,
- "expectedDeliveryAt": "string",
- "incoterms": "EXW",
- "paymentTerms": {
- "netDays": 0,
- "note": "string"
}, - "lines": [
- {
- "lineId": "string",
- "shippableRef": "string",
- "description": "string",
- "quantityOrdered": 0,
- "quantityReceived": 0,
- "unitPriceCents": 0,
- "taxRate": 0,
- "taxEstimateCents": 0,
- "destinationWarehouseId": "string",
- "expectedReceiptDate": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}A purchase return (return-to-vendor / RTV) — the buy-side mirror of the customer RMA. Returns goods to a supplier, optionally citing a source purchase order and/or inbound delivery, and moves through Draft → Approved → Issued → Completed (or Cancelled).
Issued is where goods physically leave back to the vendor; Completed is
where a vendor debit note posts to Finance. Neither the physical (GoodsIssue)
nor financial (debit note) leg is exposed on this resource yet — they are P1
follow-ups that attach to the Issued / Completed transitions.
Retrieve a paginated list of purchase returns, filterable by status and supplier.
| page | integer Default: 1 The collection page number |
{- "totalItems": 0,
- "search": {
- "@type": "string",
- "template": "string",
- "variableRepresentation": "string",
- "mapping": [
- {
- "@type": "string",
- "variable": "string",
- "property": "string",
- "required": true
}
]
}, - "view": {
- "@id": "string",
- "@type": "string",
- "first": "string",
- "last": "string",
- "previous": "string",
- "next": "string"
}, - "member": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "number": "PRET2600001",
- "status": "draft",
- "reason": "defective",
- "currency": "USD",
- "sourcePurchaseOrderId": "string",
- "sourceInboundDeliveryRef": "string",
- "totalQuantity": 25,
- "lines": [
- {
- "lineId": "string",
- "sourceLineRef": "string",
- "quantity": 0,
- "perLineReason": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}
]
}Draft a purchase return
The new PurchaseReturn resource
| supplierId required | string |
| currency required | string = 3 characters |
| reason required | string |
| sourcePurchaseOrderId | string or null |
| sourceInboundDeliveryRef | string or null |
Array of objects (PurchaseReturnLineRequest) |
{- "supplierId": "string",
- "currency": "str",
- "reason": "string",
- "sourcePurchaseOrderId": "string",
- "sourceInboundDeliveryRef": "string",
- "lines": [
- {
- "sourceLineRef": "string",
- "quantity": 0,
- "perLineReason": "string",
- "lineId": "string"
}
]
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "number": "PRET2600001",
- "status": "draft",
- "reason": "defective",
- "currency": "USD",
- "sourcePurchaseOrderId": "string",
- "sourceInboundDeliveryRef": "string",
- "totalQuantity": 25,
- "lines": [
- {
- "lineId": "string",
- "sourceLineRef": "string",
- "quantity": 0,
- "perLineReason": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Get a purchase return
| id required | string PurchaseReturn identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "number": "PRET2600001",
- "status": "draft",
- "reason": "defective",
- "currency": "USD",
- "sourcePurchaseOrderId": "string",
- "sourceInboundDeliveryRef": "string",
- "totalQuantity": 25,
- "lines": [
- {
- "lineId": "string",
- "sourceLineRef": "string",
- "quantity": 0,
- "perLineReason": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Approve a draft purchase return
| id required | string PurchaseReturn identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "number": "PRET2600001",
- "status": "draft",
- "reason": "defective",
- "currency": "USD",
- "sourcePurchaseOrderId": "string",
- "sourceInboundDeliveryRef": "string",
- "totalQuantity": 25,
- "lines": [
- {
- "lineId": "string",
- "sourceLineRef": "string",
- "quantity": 0,
- "perLineReason": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Cancel a purchase return
| id required | string PurchaseReturn identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "number": "PRET2600001",
- "status": "draft",
- "reason": "defective",
- "currency": "USD",
- "sourcePurchaseOrderId": "string",
- "sourceInboundDeliveryRef": "string",
- "totalQuantity": 25,
- "lines": [
- {
- "lineId": "string",
- "sourceLineRef": "string",
- "quantity": 0,
- "perLineReason": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Issue an approved purchase return to the supplier
| id required | string PurchaseReturn identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "number": "PRET2600001",
- "status": "draft",
- "reason": "defective",
- "currency": "USD",
- "sourcePurchaseOrderId": "string",
- "sourceInboundDeliveryRef": "string",
- "totalQuantity": 25,
- "lines": [
- {
- "lineId": "string",
- "sourceLineRef": "string",
- "quantity": 0,
- "perLineReason": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Add a line to a draft purchase return
| id required | string PurchaseReturn identifier |
The new PurchaseReturn resource
| sourceLineRef required | string |
| quantity | integer > 0 |
| perLineReason | string or null |
| lineId | string or null |
{- "sourceLineRef": "string",
- "quantity": 0,
- "perLineReason": "string",
- "lineId": "string"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "number": "PRET2600001",
- "status": "draft",
- "reason": "defective",
- "currency": "USD",
- "sourcePurchaseOrderId": "string",
- "sourceInboundDeliveryRef": "string",
- "totalQuantity": 25,
- "lines": [
- {
- "lineId": "string",
- "sourceLineRef": "string",
- "quantity": 0,
- "perLineReason": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}Remove a line from a draft purchase return
| id required | string PurchaseReturn identifier |
| lineId required | string PurchaseReturn identifier |
{- "type": "/errors/validation-error",
- "title": "Validation Error",
- "status": 400,
- "detail": "The provided input is invalid",
- "violations": [
- {
- "propertyPath": "code",
- "message": "This value should not be blank."
}
], - "instance": "string"
}Update a line on a draft purchase return
| id required | string PurchaseReturn identifier |
| lineId required | string PurchaseReturn identifier |
The updated PurchaseReturn resource
| quantity | integer > 0 |
| perLineReason | string or null |
{- "quantity": 0,
- "perLineReason": "string"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "supplierId": "string",
- "number": "PRET2600001",
- "status": "draft",
- "reason": "defective",
- "currency": "USD",
- "sourcePurchaseOrderId": "string",
- "sourceInboundDeliveryRef": "string",
- "totalQuantity": 25,
- "lines": [
- {
- "lineId": "string",
- "sourceLineRef": "string",
- "quantity": 0,
- "perLineReason": "string"
}
], - "createdAt": "string",
- "updatedAt": "string"
}A supplier (vendor) — the buy-side counterpart of a shipping Client. Links an existing Partner (carrying the Supplier role) to supplier-master fields: payment terms, lead time, and default currency.
Tenant-managed reference data.
Retrieve a paginated list of suppliers (vendors).
| page | integer Default: 1 The collection page number |
{- "totalItems": 0,
- "search": {
- "@type": "string",
- "template": "string",
- "variableRepresentation": "string",
- "mapping": [
- {
- "@type": "string",
- "variable": "string",
- "property": "string",
- "required": true
}
]
}, - "view": {
- "@id": "string",
- "@type": "string",
- "first": "string",
- "last": "string",
- "previous": "string",
- "next": "string"
}, - "member": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "partnerId": "01H8XGJ...",
- "name": "Acme Components Ltd",
- "status": "active",
- "paymentTermsDays": 30,
- "leadTimeDays": 14,
- "defaultCurrency": "USD",
- "createdAt": "string",
- "updatedAt": "string"
}
]
}Register a supplier
The new Supplier resource
| partnerId required | string |
| name required | string [ 2 .. 255 ] characters |
| paymentTermsDays | integer or null >= 0 |
| leadTimeDays | integer or null >= 0 |
| defaultCurrency | string or null = 3 characters |
{- "partnerId": "string",
- "name": "string",
- "paymentTermsDays": 0,
- "leadTimeDays": 0,
- "defaultCurrency": "str"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "partnerId": "01H8XGJ...",
- "name": "Acme Components Ltd",
- "status": "active",
- "paymentTermsDays": 30,
- "leadTimeDays": 14,
- "defaultCurrency": "USD",
- "createdAt": "string",
- "updatedAt": "string"
}Get a supplier
| id required | string Supplier identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "partnerId": "01H8XGJ...",
- "name": "Acme Components Ltd",
- "status": "active",
- "paymentTermsDays": 30,
- "leadTimeDays": 14,
- "defaultCurrency": "USD",
- "createdAt": "string",
- "updatedAt": "string"
}Update a supplier
| id required | string Supplier identifier |
The updated Supplier resource
| name | string [ 2 .. 255 ] characters |
| paymentTermsDays | integer or null >= 0 |
| leadTimeDays | integer or null >= 0 |
| defaultCurrency | string or null = 3 characters |
{- "name": "string",
- "paymentTermsDays": 0,
- "leadTimeDays": 0,
- "defaultCurrency": "str"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "partnerId": "01H8XGJ...",
- "name": "Acme Components Ltd",
- "status": "active",
- "paymentTermsDays": 30,
- "leadTimeDays": 14,
- "defaultCurrency": "USD",
- "createdAt": "string",
- "updatedAt": "string"
}Reactivate a suspended supplier
| id required | string Supplier identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "partnerId": "01H8XGJ...",
- "name": "Acme Components Ltd",
- "status": "active",
- "paymentTermsDays": 30,
- "leadTimeDays": 14,
- "defaultCurrency": "USD",
- "createdAt": "string",
- "updatedAt": "string"
}Suspend an active supplier
| id required | string Supplier identifier |
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "id": "string",
- "partnerId": "01H8XGJ...",
- "name": "Acme Components Ltd",
- "status": "active",
- "paymentTermsDays": 30,
- "leadTimeDays": 14,
- "defaultCurrency": "USD",
- "createdAt": "string",
- "updatedAt": "string"
}