Inward Delete
Allows customers to remove an existing warehousing inward in the internal WMS as long as the order has not been processed.
Note: No content will be returned
Access
To access to Mainfreight APIs, you have to Register
Resource URI
Make an HTTP DELETE request to:
https://api.mainfreight.com/Warehousing/1.1/Customers/Inward/{inward id}
Resource Information
Type | Value | ||
---|---|---|---|
Authentication | API Key | ||
Response Formats | JSON / XML | ||
HTTP Methods | DEL | ||
API Version | 1.1 |
HTTP Headers
You must add the following HTTP Headers to your request:
Header | Type | Description |
---|---|---|
Content-Type | string | Request content type. Supported types are "application/json" or "application/xml." |
Authorization | string |
The word "Secret" followed by a space, then your unique Logistics API Key. e.g: Secret wdnOId93-VXZECxvVRPQEJZNxPB5XZ... |
Parameters
You must provide the following parameters:
Request Parameters
Parameter | Type | Description |
---|---|---|
inward id | string |
Response Parameters
Code samples
To Delete an Inward you will need to set the HTTP method to DEL and pass the Inward ID into the URL as a parameter:
- URL
https://api.mainfreight.com/Warehousing/1.1/Customer/Inward/091BE892-E95B-4E47-8CA8-AB730C7E0528
You are going an HTTP response similar to this:
- RESPONSE HTTP
Responds with an HTTP 204 response code on success.