Apis related to Validation.
Interu API (v2_28)
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/purchase-orders/{purchaseOrderId}
- UAThttps://api.uat.interu.io/organisations/{orgId}/purchase-orders/{purchaseOrderId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/purchase-orders/{purchaseOrderId}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'The request has succeeded.
List of items included in the purchase order.
The URI of the product for the line item included in the purchase order.
The quantity of the product included in the purchase order.
The uri of the product variant if applicable to this purchase order line item.
Additiononal quantities can be specified directly on the item.
The additional quantity base unit of measurement.
The additional quantity calculated if the product has a conversion to that base unit.
{ "number": "string", "status": "OPEN", "orderDate": "2019-08-24T14:15:22Z", "expectedDeliveryDate": "2019-08-24T14:15:22Z", "supplier": "/organisations/{orgId}/connections/{connectionId}", "buyer": "/organisations/{orgId}/connections/{connectionId}", "deliverToLocation": "/organisations/{orgId}/locations/{locationId}", "lineItems": [ { … } ], "note": "string", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }
List of items included in the purchase order.
The URI of the product for the line item included in the purchase order.
The quantity of the product included in the purchase order.
The uri of the product variant if applicable to this purchase order line item.
Additiononal quantities can be specified directly on the item.
The additional quantity base unit of measurement.
The additional quantity calculated if the product has a conversion to that base unit.
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/purchase-orders/{purchaseOrderId}
- UAThttps://api.uat.interu.io/organisations/{orgId}/purchase-orders/{purchaseOrderId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/purchase-orders/{purchaseOrderId}' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-H 'contentType: application/json' \
-d '{
"number": "string",
"status": "OPEN",
"orderDate": "2019-08-24T14:15:22Z",
"expectedDeliveryDate": "2019-08-24T14:15:22Z",
"supplier": "/organisations/{orgId}/connections/{connectionId}",
"buyer": "/organisations/{orgId}/connections/{connectionId}",
"deliverToLocation": "/organisations/{orgId}/locations/{locationId}",
"lineItems": [
{
"lineItemId": "string",
"product": "/organisations/{orgId}/products/{productId}",
"quantity": 0,
"note": "string",
"productVariant": "/organisations/{orgId}/products/{productId}/variants/{variantId}",
"additionalQuantities": [
{
"baseUnit": "string",
"conversionQuantity": 0,
"overrideQuantity": 0
}
]
}
],
"note": "string"
}'The request has succeeded.
List of items included in the purchase order.
The URI of the product for the line item included in the purchase order.
The quantity of the product included in the purchase order.
The uri of the product variant if applicable to this purchase order line item.
Additiononal quantities can be specified directly on the item.
The additional quantity base unit of measurement.
The additional quantity calculated if the product has a conversion to that base unit.
{ "number": "string", "status": "OPEN", "orderDate": "2019-08-24T14:15:22Z", "expectedDeliveryDate": "2019-08-24T14:15:22Z", "supplier": "/organisations/{orgId}/connections/{connectionId}", "buyer": "/organisations/{orgId}/connections/{connectionId}", "deliverToLocation": "/organisations/{orgId}/locations/{locationId}", "lineItems": [ { … } ], "note": "string", "id": "string", "createdBy": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedBy": "string", "updatedTime": "2019-08-24T14:15:22Z" }
- Mock serverhttps://developer.interu.io/_mock/reference/api/organisations/{orgId}/purchase-orders/{purchaseOrderId}
- UAThttps://api.uat.interu.io/organisations/{orgId}/purchase-orders/{purchaseOrderId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://developer.interu.io/_mock/reference/api/organisations/{orgId}/purchase-orders/{purchaseOrderId}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'