### Individual API Integration Source: https://context7.com/easyparcel/nextgen-integration-doc/llms.txt Guide to integrating with the EasyParcel Individual API for programmatic access to shipping rates, order submission, AWB generation, and shipment tracking. ```APIDOC ## Individual API Integration ### Description The Individual API allows for custom integrations and automated workflows by providing programmatic access to EasyParcel services. Key capabilities include fetching shipping rates, submitting shipments, generating AWBs, tracking parcels, and managing addresses. ### API Key Generation 1. Navigate to EasyConnect -> Add Ecommerce App -> Individual API. 2. Click "Install App" and "Allow Access". 3. Fill in the "Application Details" (Name, Contact Number, Email) and submit. 4. Copy the generated API Key (e.g., `ep_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`). ### Resources - **API Documentation**: https://developers.easyparcel.com/ - **Postman Collection**: https://www.postman.com/testingeasyparcel/ - **OpenAPI Documentation**: https://easyparcel.github.io/OpenAPI/ ### Example: Get Shipping Rates This example demonstrates how to retrieve shipping rates using a `POST` request to the `/v2/rates` endpoint. #### Request Example (cURL) ```bash curl -X POST "https://api.easyparcel.com/v2/rates" \ -H "Authorization: Bearer ep_live_xxxxxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{ "sender": { "postcode": "50000", "city": "Kuala Lumpur", "state": "Kuala Lumpur", "country": "MY" }, "receiver": { "postcode": "10000", "city": "Penang", "state": "Penang", "country": "MY" }, "parcel": { "weight": 1.5, "length": 30, "width": 20, "height": 15 } }' ``` #### Response Example (Success - 200 OK) ```json { "rates": [ { "courier": "J&T Express", "service": "Standard", "price": 7.80, "currency": "MYR", "estimated_delivery": "2-4 business days" }, { "courier": "Pos Laju", "service": "Express", "price": 8.50, "currency": "MYR", "estimated_delivery": "1-3 business days" } ] } ``` ``` -------------------------------- ### Individual Order Fulfillment Source: https://context7.com/easyparcel/nextgen-integration-doc/llms.txt Guide to fulfilling individual orders through the EasyParcel interface, including reviewing details, getting quotes, selecting couriers, and completing payment. ```APIDOC ## Individual Order Fulfillment ### Description This section details the process of fulfilling a single order through the EasyParcel platform, from reviewing order details to generating an Air Waybill (AWB). ### Steps 1. **Review Order Details**: Access the order in EasyParcel and review all necessary information such as receiver details, items, weight, and dimensions. 2. **Get Shipping Quote**: Click the "Get Quote" button to retrieve available courier options based on the order's details. 3. **Select Courier**: Compare the provided courier options based on price, delivery time, service coverage, and pickup availability. Select the desired courier. 4. **Proceed to Payment**: Click "Proceed to Payment" for the selected courier. Payment is deducted from your EasyParcel wallet balance. 5. **Order Status**: Upon successful payment, the order status updates to "Fulfilled", an AWB is generated automatically, and the tracking number syncs back to your marketplace. 6. **View Fulfilled Order**: Navigate to "View Orders" to see the fulfilled order details, including the tracking number and AWB. ``` -------------------------------- ### Retrieve Shipping Rates via API Source: https://context7.com/easyparcel/nextgen-integration-doc/llms.txt Demonstrates how to fetch available courier rates by sending sender, receiver, and parcel dimensions to the EasyParcel API. This request requires a valid API key in the Authorization header and returns a list of available shipping services with pricing and estimated delivery times. ```bash curl -X POST "https://api.easyparcel.com/v2/rates" \ -H "Authorization: Bearer ep_live_xxxxxxxxxxxx" \ -H "Content-Type: application/json" \ -d '{ "sender": { "postcode": "50000", "city": "Kuala Lumpur", "state": "Kuala Lumpur", "country": "MY" }, "receiver": { "postcode": "10000", "city": "Penang", "state": "Penang", "country": "MY" }, "parcel": { "weight": 1.5, "length": 30, "width": 20, "height": 15 } }' ``` -------------------------------- ### AWB Generation with Packing List Source: https://context7.com/easyparcel/nextgen-integration-doc/llms.txt Instructions on how to enable and utilize the packing list feature on Air Waybill (AWB) labels for enhanced order tracking. ```APIDOC ## AWB Generation with Packing List ### Description This feature enhances your Air Waybill (AWB) labels by including a packing list, which aids in order visibility and simplifies warehouse operations. This guide explains how to enable and use this functionality. ### Steps 1. **Enable Packing List Feature**: - Navigate to EasyConnect -> Installed Ecommerce Apps -> [Platform Import] -> Open App. - Click on "Settings". - Locate the "AWB Settings" section and toggle "Enable Packing List on AWB" to "Yes". - Click "Update" to save the changes. 2. **Download AWB with Packing List**: After enabling the feature, proceed with your normal AWB generation process. The packing list details will now be included on the generated AWB labels. ``` -------------------------------- ### Configure Shopify Seamless Version Shipping Settings Source: https://context7.com/easyparcel/nextgen-integration-doc/llms.txt This JSON configuration object is used within the EasyParcel Shopify app settings to link the store to an EasyParcel account via an Integration ID. It ensures that shipping rates are correctly calculated based on the provided sender information. ```json { "country": "MY", "integration_id": "ep_xxxxxxxxxxxxxxxxxxxx", "sender_name": "John Doe", "sender_phone": "+60123456789", "sender_address": "123 Jalan Example, 50000 Kuala Lumpur" } ``` -------------------------------- ### Bulk Order Fulfillment Source: https://context7.com/easyparcel/nextgen-integration-doc/llms.txt Instructions for processing multiple orders simultaneously, including configuring fulfillment rules, importing orders, and completing bulk payment. ```APIDOC ## Bulk Order Fulfillment ### Description Streamline your operations by fulfilling multiple orders at once. This process supports automatic or manual courier selection and a single payment transaction for all selected orders. ### Steps 1. **Configure Fulfillment Rules (Optional)**: Navigate to EasyConnect -> Installed Ecommerce Apps -> [Platform] -> Open App -> Settings/Fulfillment Rules. Set preferences like "Courier Selection" (e.g., "Cheapest Courier" or a "Specific Courier") and "Auto-assign". 2. **Import and Select Orders**: Go to "Order" -> select date range -> filter by status "Unfulfilled" -> click "Search". Select orders using checkboxes or "Select All". 3. **Review Bulk Order Summary**: After clicking "Fulfill Selected", review the summary table which includes Order ID, Receiver, Courier, Price, and Status for all selected orders. 4. **Change Courier (Optional)**: If needed, click the pencil icon next to an order in the summary to change its selected courier and save. 5. **Complete Bulk Payment**: Click "Pay Now" to process all selected orders. Payment is deducted from your wallet, AWBs are generated, and tracking numbers are synced. ``` -------------------------------- ### Configure Shopify Import Version Sender Address Source: https://context7.com/easyparcel/nextgen-integration-doc/llms.txt This JSON object defines the sender's contact and location details required for the EasyParcel Shopify Import integration. It is used to populate the sender address fields within the EasyConnect app settings. ```json { "sender_name": "John Doe", "sender_company": "My Company Sdn Bhd", "sender_phone": "+60123456789", "sender_address_1": "123 Jalan Example", "sender_address_2": "", "sender_postcode": "50000", "sender_city": "Kuala Lumpur", "sender_state": "Kuala Lumpur", "sender_country": "MY" } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.