This guide is intended for customers with custom-built third-party API integrations. It provides an additional method for creating an ASN, rather than the standard approach. To create an ASN via the API you need to use the following request: /api/ASN.
The ASN contains details about a delivery coming into the warehouse and the products contained on that delivery.
Field | Comments | Example | Required |
WarehouseId | WarehouseId of the warehouse the ASN is coming into. For a full list use the /api/Warehouse call. | "WarehouseId": 3 | Yes |
POReference | PO reference to make the ASN easier to identify. | "POReference": "PO1232" | Yes |
Supplier | The name of the supplier | "Supplier": "MySupplier" | Yes |
EstimatedDelivery | The date you expect the delivery into the warehouse | "EstimatedDelivery":"2020-04-13 | Yes |
Comments | Any extra details the warehouse need to know | "Comments":"Test Delivery" | Yes |
GoodsInType | The type of delivery e.g. pallet, carton, container. For a full list, use the /api/ASN/GoodsInTypes | "GoodsInType":"Pallet" | Yes |
Quantity | The quantity of shipping items, for example, 2 pallets | "Quantity":2 | Yes |
ProductSupplierId | Use this only if you want to supply the SupplierId by ID instead of just plain text. |
| Optional |
ClientId | Use this only if you're using an admin API user to ASNs on behalf of multiple clients. |
| Optional |
Items | Breakdown of the items coming in the delivery. You can use either the ProductId or SKU. | "ProductId":0,"SKU":"test-sku","Quantity":10 | Yes |
SSCC | Only use this field if you have the Cartons & Pallets module active on Mintsoft |
| Optional |
Example API
{ "WarehouseId":3, "POReference":"My PO Reference", "Supplier":"New Supplier", "EstimatedDelivery":"2020-04-13T14:08:00.3259797+01:00", "Comments":"Test Delivery", "GoodsInType":"Pallet", "Quantity":2, "ProductSupplierId":null, "ClientId":null, "Items":[ {"ProductId":0,"SKU":"test-sku","Quantity":100} ]}