- The Peddler API is a RESTful web service for developers to programmatically interact with Peddler's data and real-time order/delivery management services.
- All data exchanged between clients and the API is JSON (unless specified otherwise) over HTTPS.
- The base URL for the Peddler API is
https://api-lokl.peddler.com
- Peddler utilises the CRUD standardised use of HTTP Action Verbs.
- POST (create)
- GET (read)
- PUT (update/replace)
- DELETE (remove)
High-level CRUD Operation examples:
- If you want to create an "Order", you should send a POST request to the API as follows:
https://api-lokl.peddler.com/api/Orders
- If you want to read an "Order", you should send a GET request to the API as follows:
https://api-lokl.peddler.com/api/Orders/{id}
- If you want to read multiple "Orders", you should send a GET request to the API as follows:
https://api-lokl.peddler.com/api/Orders/
- If you want to update an "Order" in Peddler, you should send a PUT request to the API as follows:
https://api-lokl.peddler.com/api/Orders/{id}
- If you want to add an delivery to an "Order" in Peddler, you should POST to the API:
https://api-lokl.peddler.com/api/Orders/{id}/deliveryLineItems/
- If you want to create a "shipment", you should send a POST request to the API as follows:
https://api-lokl.peddler.com/api/Carriers/{CARRIER_ID}/createShipments
- If you want to read a "shipment", you should send a GET request to the API as follows:
https://api-lokl.peddler.com/api/Carriers/{CARRIER_ID}/getShipmentStatuses?trackingNumbers
- If you want to read multiple "shipments", you should send a GET request to the API as follows:
https://api-lokl.peddler.com/api/Carriers/{CARRIER_ID}/getShipmentStatuses?trackingNumbers[0]=string&trackingNumbers[1]=string
- All parameters, where relevant, are required unless otherwise specified.
- Peddler API uses OAuth2 based authentication methods. All keys are provided by the peddler team and are available on request.
- If you have questions about using the API, want to share some feedback, or have come across a bug you'd like to report, write us an email at [email protected] or submit a request through our Support Center at [email protected].
Note: We will never ask you for credentials/API keys so do not provide them.