Inward Delete

Allows customers to remove an existing logistics 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/Logistics/1.0/Customer/Inward/{inward id}

Resource Information

TypeValue 
Authentication API Key  
Response Formats JSON / XML  
HTTP Methods DEL  
API Version 1.0  

HTTP Headers

You must add the following HTTP Headers to your request:

HeaderTypeDescription
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...

RequestedBy string Please provide your application name.

Parameters

You must provide the following parameters:

Request Parameters

ParameterTypeDescription
inward id string  

Response Parameters

Responds with an HTTP 204 response code on success.

Code samples

Example

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
< > grab code
https://api.mainfreight.com/Logistics/1.0/Customer/Inward/091BE892-E95B-4E47-8CA8-AB730C7E0528
 

You are going an HTTP response similar to this:

  • RESPONSE HTTP
< > grab code
Responds with an HTTP 204 response code on success.
NOTE: Content in the panels below this point are not visible on the site unless used by other features e.g. gadgets, OB&E, etc.