{"info":{"_postman_id":"5983d8a9-43ea-48f3-bc99-94e4c6eea899","name":"Parcelab.com Shipping API","description":"<html><head></head><body><p>Welcome to the API Shipping Documentation for Parcelab.com This document provides comprehensive information on how to integrate into your application our API for shipping functionalities like getting discounted prices from a large number of carriers, creating shipments and obtaining shipping labels and tracking parcels.The Parcelab API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses, and uses standard HTTPS response codes, authentication, and verbs.</p>\n<p>You can use this API in test mode, which doesn’t affect live shipments or invoicing. The API key you use to authenticate the request determines whether the request is live mode or test mode.</p>\n<p><strong>Base URL</strong></p>\n<p>The base URL for accessing the production API endpoints is: <a href=\"http://parcelab.com/\">https://parcelab.com<br></a>The URL for accessing test server is: <a href=\"https://parcelab.com/\">https://test.parcelab.com/</a>  </p>\n<p><strong>PROTOCOL</strong></p>\n<p>The protocol to use for all API calls is https.</p>\n<p><strong>ENCODING</strong></p>\n<p>The V1 &amp; V2 API call URIs are constructed according to the following model:</p>\n<p><a href=\"https://www.parcelab.com/%5C%5B/%5C%5D%5C%5B.../route/.../%5C%5D/ressource\"><b>https://www.parcelab.com/[/][.../route/.../]/ressource</b></a></p>\n<p>*<em>The URI must be in lowercase.__*</em></p>\n<p><strong>URL AND Request FORMATS:</strong> <em>Requests are to be made in:</em></p>\n<p><strong>GET</strong> (for a resource consultation, a shipping quote)<strong>, POST</strong> (for an order/shipment).<br><strong>Put</strong> (for cancelling a shipment or collection).</p>\n<p>The parameters must be provided in the URI path for 'dictionary' type GET requests, with a query string specifying the value of each of them for GET or POST requests for quotation or order taking.</p>\n<p><strong>RESPONSE FORMATS</strong></p>\n<p>All responses are in JSON format, without attributes.</p>\n<p><strong>RETURN CODES</strong></p>\n<p>The HTTPS return code can be:</p>\n<p>200: success,<br>400: invalid request,<br>401: access prohibited,<br>404: resource not found,<br>500: internal server error</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"18826607","collectionId":"5983d8a9-43ea-48f3-bc99-94e4c6eea899","publishedId":"2sA2xnyVRZ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-07-05T15:29:38.000Z"},"item":[{"name":"V2","item":[{"name":"Get Rates","id":"de73d62c-7847-4270-9259-2effd3fd3bc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n  \"fromCity\": \"Ottawa\",\n  \"fromCountry\": \"CA\",\n  \"fromState\": \"ON\",\n  \"fromPostalCode\": \"K1M 1P5\",\n  \"toCity\": \"New York\",\n  \"toCountry\": \"US\",\n  \"toState\": \"NY\",\n  \"toPostalCode\": \"10015\",\n  \"shippingDate\": \"2025-02-27\",\n  \"packages\": [\n    {\n      \"weight\": 1,\n      \"dimensions\": {\n        \"length\": 5,\n        \"width\": 5,\n        \"height\": 5\n      }\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://www.parcelab.com/api/rates","description":"<h1 id=\"get-shipping-rates\">Get Shipping Rates</h1>\n<p>This API endpoint makes an HTTP GET request to retrieve shipping rates. The request should include parameters such as <code>fromCity</code>, <code>fromCountry</code>, <code>fromPostalCode</code>, <code>toCity</code>, <code>toCountry</code>, <code>toPostalCode</code>, <code>height</code>, <code>length</code>, <code>weight</code>, <code>width</code>, <code>shippingDate</code>, and <code>packages</code>. The <code>packages</code> parameter should include <code>weight</code> and <code>dimensions</code> for each package.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><code>fromCity</code> (string): The city from which the shipment will originate.</p>\n</li>\n<li><p><code>fromCountry</code> (string): The country from which the shipment will originate.</p>\n</li>\n<li><p><code>fromPostalCode</code> (string): The postal code from which the shipment will originate.</p>\n</li>\n<li><p><code>toCity</code> (string): The destination city for the shipment.</p>\n</li>\n<li><p><code>toCountry</code> (string): The destination country for the shipment.</p>\n</li>\n<li><p><code>toPostalCode</code> (string): The destination postal code for the shipment.</p>\n</li>\n<li><p><code>height</code> (string): The height of the shipment.</p>\n</li>\n<li><p><code>length</code> (string): The length of the shipment.</p>\n</li>\n<li><p><code>weight</code> (string): The weight of the shipment.</p>\n</li>\n<li><p><code>width</code> (string): The width of the shipment.</p>\n</li>\n<li><p><code>shippingDate</code> (string): The date of shipping.</p>\n</li>\n<li><p><code>packages</code> (array): An array of packages, each including <code>weight</code> and <code>dimensions</code>.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful execution, the API returns a status code of 200 and a JSON response containing a message and the shipping rates. The rates are provided for DHL and UPS, including:</p>\n<ul>\n<li><p><code>serviceCode</code> (string): The code for the shipping service.</p>\n</li>\n<li><p><code>serviceName</code> (string): The name of the shipping service.</p>\n</li>\n<li><p><code>totalPrice</code> (object): An object containing <code>currency</code>, <code>price</code>, and <code>VAT</code> for the total price.</p>\n</li>\n<li><p><code>weight</code> (object): An object containing <code>unit</code> and <code>value</code> for the weight.</p>\n</li>\n<li><p><code>tax</code> (object): An object containing the <code>amount</code> of tax.</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"message\": {\n      \"type\": \"string\"\n    },\n    \"Rates\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"serviceCode\": {\n            \"type\": \"string\"\n          },\n          \"serviceName\": {\n            \"type\": \"string\"\n          },\n          \"totalPrice\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"currency\": {\n                \"type\": \"string\"\n              },\n              \"price\": {\n                \"type\": \"string\"\n              },\n              \"VAT\": {\n                \"type\": \"string\"\n              }\n            }\n          },\n          \"weight\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"unit\": {\n                \"type\": \"string\"\n              },\n              \"value\": {\n                \"type\": \"number\"\n              }\n            }\n          },\n          \"tax\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"amount\": {\n                \"type\": \"number\"\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","rates"],"host":["www","parcelab","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"de73d62c-7847-4270-9259-2effd3fd3bc7"},{"name":"Delete Shipment","id":"c3b57efe-f49e-4145-9c54-c51246f80a0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.parcelab.com/api/delete-shipment/2241611923","description":"<h1 id=\"get-shipping-rates\">Get Shipping Rates</h1>\n<p>This API endpoint makes an HTTP GET request to retrieve shipping rates. The request should include parameters such as <code>fromCity</code>, <code>fromCountry</code>, <code>fromPostalCode</code>, <code>toCity</code>, <code>toCountry</code>, <code>toPostalCode</code>, <code>height</code>, <code>length</code>, <code>weight</code>, <code>width</code>, <code>shippingDate</code>, and <code>packages</code>. The <code>packages</code> parameter should include <code>weight</code> and <code>dimensions</code> for each package.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p><code>fromCity</code> (string): The city from which the shipment will originate.</p>\n</li>\n<li><p><code>fromCountry</code> (string): The country from which the shipment will originate.</p>\n</li>\n<li><p><code>fromPostalCode</code> (string): The postal code from which the shipment will originate.</p>\n</li>\n<li><p><code>toCity</code> (string): The destination city for the shipment.</p>\n</li>\n<li><p><code>toCountry</code> (string): The destination country for the shipment.</p>\n</li>\n<li><p><code>toPostalCode</code> (string): The destination postal code for the shipment.</p>\n</li>\n<li><p><code>height</code> (string): The height of the shipment.</p>\n</li>\n<li><p><code>length</code> (string): The length of the shipment.</p>\n</li>\n<li><p><code>weight</code> (string): The weight of the shipment.</p>\n</li>\n<li><p><code>width</code> (string): The width of the shipment.</p>\n</li>\n<li><p><code>shippingDate</code> (string): The date of shipping.</p>\n</li>\n<li><p><code>packages</code> (array): An array of packages, each including <code>weight</code> and <code>dimensions</code>.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>Upon successful execution, the API returns a status code of 200 and a JSON response containing a message and the shipping rates. The rates are provided for DHL and UPS, including:</p>\n<ul>\n<li><p><code>serviceCode</code> (string): The code for the shipping service.</p>\n</li>\n<li><p><code>serviceName</code> (string): The name of the shipping service.</p>\n</li>\n<li><p><code>totalPrice</code> (object): An object containing <code>currency</code>, <code>price</code>, and <code>VAT</code> for the total price.</p>\n</li>\n<li><p><code>weight</code> (object): An object containing <code>unit</code> and <code>value</code> for the weight.</p>\n</li>\n<li><p><code>tax</code> (object): An object containing the <code>amount</code> of tax.</p>\n</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"message\": {\n      \"type\": \"string\"\n    },\n    \"Rates\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"serviceCode\": {\n            \"type\": \"string\"\n          },\n          \"serviceName\": {\n            \"type\": \"string\"\n          },\n          \"totalPrice\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"currency\": {\n                \"type\": \"string\"\n              },\n              \"price\": {\n                \"type\": \"string\"\n              },\n              \"VAT\": {\n                \"type\": \"string\"\n              }\n            }\n          },\n          \"weight\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"unit\": {\n                \"type\": \"string\"\n              },\n              \"value\": {\n                \"type\": \"number\"\n              }\n            }\n          },\n          \"tax\": {\n            \"type\": \"object\",\n            \"properties\": {\n              \"amount\": {\n                \"type\": \"number\"\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","name":"V2","type":"folder"}},"urlObject":{"protocol":"https","path":["api","delete-shipment","2241611923"],"host":["www","parcelab","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3b57efe-f49e-4145-9c54-c51246f80a0b"},{"name":"Get Shipment By ID","id":"06a25a81-1915-4604-9e19-1027db757935","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://www.parcelab.com/api/shipment/66f18e18854d36f6d27fd79a","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","name":"V2","type":"folder"}},"urlObject":{"protocol":"https","path":["api","shipment","66f18e18854d36f6d27fd79a"],"host":["www","parcelab","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"06a25a81-1915-4604-9e19-1027db757935"},{"name":"Tracking","id":"dd03a885-c13e-4209-aaa1-5a9aad0fef7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.parcelab.com/api/shipment/3120368705/live","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","name":"V2","type":"folder"}},"urlObject":{"protocol":"https","path":["api","shipment","3120368705","live"],"host":["www","parcelab","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd03a885-c13e-4209-aaa1-5a9aad0fef7f"},{"name":"Get label by id","id":"6084fcc6-241b-4ab7-8241-b1724e448d43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://www.parcelab.com/api/shipment/1ZV58R448614845563/document","description":"<p>The API endpoint retrieves the shipping label by using the shipment id for example \"66880d229edd987e11865dc6\". The response returns a PDF document.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"status\": {\n      \"type\": \"number\",\n      \"description\": \"The HTTP status code of the response.\"\n    },\n    \"content-type\": {\n      \"type\": \"string\",\n      \"description\": \"The type of content in the response.\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","shipment","1ZV58R448614845563","document"],"host":["www","parcelab","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6084fcc6-241b-4ab7-8241-b1724e448d43"},{"name":"Get label by tracking number","id":"60ea04ae-af1e-4f47-adc7-91bb7a79165b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://parcelab.com/api/shipment/2242887441/doc","description":"<p>This API endpoint makes an HTTP GET request to retrieve the shipping label associated with the tracking number entered for example \"1ZH017V36829994531\". The response will be a PDF document representing the shipment details.</p>\n<p>Request Body: N/A</p>\n<p>Response Body:</p>\n<ul>\n<li><p>Content-Type: application/pdf</p>\n</li>\n<li><p>The response will contain the PDF document representing the shipment details.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","name":"V2","type":"folder"}},"urlObject":{"protocol":"https","path":["api","shipment","2242887441","doc"],"host":["parcelab","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"60ea04ae-af1e-4f47-adc7-91bb7a79165b"},{"name":"Get Shop Info","id":"30f66797-9c53-460b-a7fe-4fbed55d8aa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n  \"Address\": {\n    \"AddressLine\": \"55 Glenlake Parkway\",\n    \"PoliticalDivision2\": \"Atlanta\",\n    \"PoliticalDivision1\": \"GA\",\n    \"PostcodePrimaryLow\": \"30328\",\n    \"PostcodeExtendedLow\": \"30328\",\n    \"CountryCode\": \"US\"\n    }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://www.parcelab.com/api/shop","description":"<h1 id=\"shop-api-endpoint\">Shop API Endpoint</h1>\n<h2 id=\"description\">Description</h2>\n<p>This API endpoint is used to retrieve shop information.</p>\n<h2 id=\"request\">Request</h2>\n<ul>\n<li><p>Method: GET</p>\n</li>\n<li><p>URL: {{BASE_API_URL}}/api/shop</p>\n</li>\n</ul>\n<h3 id=\"headers\">Headers</h3>\n<p>No specific headers provided.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><p>Type: Raw</p>\n</li>\n<li><p>Payload:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"Address\": {\n    \"AddressLine\": \"\",\n    \"PoliticalDivision2\": \"\",\n    \"PoliticalDivision1\": \"\",\n    \"PostcodePrimaryLow\": \"\",\n    \"PostcodeExtendedLow\": \"\",\n    \"CountryCode\": \"\"\n  }\n}\n\n</code></pre>\n</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<ul>\n<li><p>Status: 200</p>\n</li>\n<li><p>Content-Type: application/json</p>\n</li>\n</ul>\n<h3 id=\"response-body\">Response Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 0,\n  \"message\": \"\",\n  \"data\": {\n    \"LocatorResponse\": {\n      \"Response\": {\n        \"TransactionReference\": \"\",\n        \"ResponseStatusCode\": \"\",\n        \"ResponseStatusDescription\": \"\"\n      },\n      \"SearchResults\": {\n        \"DropLocation\": [\n          {\n            \"LocationID\": \"\",\n            \"IVR\": {\n              \"PhraseID\": \"\"\n            },\n            \"Geocode\": {\n              \"Latitude\": \"\",\n              \"Longitude\": \"\"\n            },\n            \"AddressKeyFormat\": {\n              \"ConsigneeName\": \"\",\n              \"AddressLine\": \"\",\n              \"PoliticalDivision2\": \"\",\n              \"PoliticalDivision1\": \"\",\n              \"PostcodePrimaryLow\": \"\",\n              \"PostcodeExtendedLow\": \"\",\n              \"CountryCode\": \"\"\n            },\n            \"LocationAttribute\": {\n              \"OptionType\": {\n                \"Code\": \"\",\n                \"Description\": \"\"\n              },\n              \"OptionCode\": {\n                \"Code\": \"\",\n                \"Description\": \"\"\n              }\n            },\n            \"Distance\": {\n              \"Value\": \"\",\n              \"UnitOfMeasurement\": {\n                \"Code\": \"\",\n                \"Description\": \"\"\n              }\n            },\n            \"LatestGroundDropOffTime\": \"\",\n            \"LatestAirDropOffTime\": \"\",\n            \"AdditionalChargeIndicator\": \"\",\n            \"StandardHoursOfOperation\": \"\",\n            \"OperatingHours\": {\n              \"StandardHours\": [\n                {\n                  \"HoursType\": \"\",\n                  \"DayOfWeek\": [\n                    {\n                      \"Day\": \"\",\n                      \"OpenHours\": \"\",\n                      \"CloseHours\": \"\"\n                    }\n                  ]\n                }\n              ]\n            },\n            \"SLIC\": \"\",\n            \"ServiceOfferingList\": {\n              \"ServiceOffering\": [\n                {\n                  \"Code\": \"\",\n                  \"Description\": \"\"\n                }\n              ]\n            },\n            \"DisplayPhoneNumberIndicator\": \"\",\n            \"AccessPointInformation\": {\n              \"PublicAccessPointID\": \"\",\n              \"ImageURL\": \"\",\n              \"BusinessClassificationList\": {\n                \"BusinessClassification\": [\n                  {\n                    \"Code\": \"\",\n                    \"Description\": \"\"\n                  }\n                ]\n              },\n              \"AccessPointStatus\": {\n                \"Code\": \"\",\n                \"Description\": \"\"\n              }\n            },\n            \"LocationNewIndicator\": \"\",\n            \"WillCallLocationIndicator\": \"\"\n          }\n        ]\n      }\n    }\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","name":"V2","type":"folder"}},"urlObject":{"protocol":"https","path":["api","shop"],"host":["www","parcelab","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"30f66797-9c53-460b-a7fe-4fbed55d8aa3"},{"name":"Create Shipment","id":"b336f6e0-570c-4b6e-af53-e60f7418c204","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"serviceId\": \"FEDEX_GROUND\",\n  \"shipmentDate\": \"2026-02-10\",\n  \"sender\": {\n    \"email\": \"garecentre@gmail.com\",\n    \"phone\": \"+17097005200\",\n    \"fullName\": \"Yesenia Rodriguez\",\n    \"companyName\": \"Yesenia Rodriguez\",\n    \"address\": {\n      \"addressLine1\": \"510 S Normandie Ave\",\n      \"cityName\": \"Ottawa\",\n      \"postalCode\": \"K1M 1P5\",\n      \"countryCode\": \"CA\",\n      \"state\": \"ON\"\n    }\n  },\n  \"receiver\": {\n    \"email\": \"garecentre@gmail.com\",\n    \"phone\": \"07819374888\",\n    \"fullName\": \"Simon Peterson\",\n    \"companyName\": \"Simon Peterson\",\n    \"address\": {\n      \"addressLine1\": \"11 Moorhen Close\",\n      \"cityName\": \"New York\",\n      \"postalCode\": \"10015\",\n      \"countryCode\": \"US\",\n      \"state\": \"NY\"\n    }\n  },\n  \"getRateEstimates\": false,\n  \"content\": {\n    \"packages\": [\n      {\n        \"weight\": 0.68,\n        \"dimensions\": {\n          \"length\": 5.21,\n          \"width\": 6.05,\n          \"height\": 5.66\n        },\n        \"description\": \"Hair extensions\",\n        \"lineItems\": [\n          {\n            \"number\": 1,\n            \"description\": \"Synthetic hair extensions\",\n            \"price\": 5,\n            \"hs_tariff_number\": null,\n            \"quantity\": {\n              \"value\": 10,\n              \"unitOfMeasurement\": \"PCS\"\n            },\n            \"manufacturerCountry\": \"US\",\n            \"weight\": {\n              \"netValue\": 0.06,\n              \"grossValue\": 0.06\n            }\n          }\n        ]\n      }\n    ],\n    \"isCustomsDeclarable\": true,\n    \"declaredValue\": 50,\n    \"declaredValueCurrency\": \"USD\",\n    \"unitOfMeasurement\": \"metric\"\n  },\n  \"labelImageFormatCode\": \"GIF\",\n  \"exportReasonType\": \"permenant\",\n  \"stockHeight\": \"10\",\n  \"stockWidth\": \"10\",\n  \"shipmentNotification\": [\n    {\n      \"type\": \"email\",\n      \"email\": \"garecentre@gmail.com\",\n      \"message\": \"Thank you for purchasing with Parcel Monkey.\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://parcelab.com/api/create-shipment","description":"<h3 id=\"create-shipment-api\">Create Shipment API</h3>\n<p>This API endpoint is used to create a new shipment with the provided details.</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><p><code>serviceId</code> (string): The ID of the service to be used for the shipment.</p>\n</li>\n<li><p><code>shipmentDate</code> (string): The date of the shipment.</p>\n</li>\n<li><p><code>sender</code> (object): Details of the sender including email, phone, company name, full name, and address.</p>\n</li>\n<li><p><code>receiver</code> (object): Details of the receiver including email, phone, company name, full name, and address.</p>\n</li>\n<li><p><code>StateProvinceCode</code> (string): The state or province code.</p>\n</li>\n<li><p><code>getRateEstimates</code> (boolean): Indicates whether to get rate estimates or not.</p>\n</li>\n<li><p><code>content</code> (object): Details of the shipment content including packages, line items, customs information, and description.</p>\n</li>\n<li><p><code>destinationPortName</code> (string): The name of the destination port.</p>\n</li>\n<li><p><code>exportReasonType</code> (string): The reason for export.</p>\n</li>\n<li><p><code>labelImageFormatCode</code> (string): The format code for the label image.</p>\n</li>\n<li><p><code>stockHeight</code> (string): The height of the stock.</p>\n</li>\n<li><p><code>stockWidth</code> (string): The width of the stock.</p>\n</li>\n<li><p><code>shipmentNotification</code> (array): Details of the shipment notification including type, email, and message.</p>\n</li>\n</ul>\n<p>The request payload is a JSON object containing the details of the shipment, including service ID, shipment date, sender and receiver information, state/province code, rate estimates, content details, destination port name, export reason type, label image format code, stock height, stock width, and shipment notification.</p>\n<h4 id=\"response\">Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"type\": \"object\",\n    \"properties\": {\n        \"message\": {\n            \"type\": \"string\"\n        },\n        \"data\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"_id\": {\n                    \"type\": \"string\"\n                },\n                \"userId\": {\n                    \"type\": \"string\"\n                },\n                \"trackingNumber\": {\n                    \"type\": \"string\"\n                },\n                \"packages\": {\n                    \"type\": \"array\",\n                    \"items\": {\n                        \"type\": \"object\",\n                        \"properties\": {\n                            \"trackingNumber\": {\n                                \"type\": \"string\"\n                            },\n                            \"_id\": {\n                                \"type\": \"string\"\n                            }\n                        }\n                    }\n                },\n                \"shipmentDetails\": {\n                    \"type\": \"array\"\n                },\n                \"__v\": {\n                    \"type\": \"number\"\n                }\n            }\n        }\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","name":"V2","type":"folder"}},"urlObject":{"protocol":"https","path":["api","create-shipment"],"host":["parcelab","com"],"query":[],"variable":[]}},"response":[{"id":"944cc056-bffe-4bb3-9bce-f98bdb38ec21","name":"Create Shipment","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"serviceId\": \"DHL_EXPRESS_WORLDWIDE\",\n    \"shipmentDate\": \"2024-09-12\",\n    \"sender\": {\n        \"email\": \"amarram89@yahoo.ca\",\n        \"phone\": \"+5926376593\",\n        \"fullName\": \"Amar Ram\",\n        \"companyName\": \"Amar Ram\",\n        \"address\": {\n            \"postalCode\": \"000000\",\n            \"cityName\": \"Georgetown\",\n            \"countryCode\": \"GY\",\n            \"addressLine1\": \"50e fifth st\"\n        }\n    },\n    \"receiver\": {\n        \"email\": \"stefanau7@gmail.com\",\n        \"phone\": \"+40722264693\",\n        \"fullName\": \"Stefan Matei\",\n        \"companyName\": \"Reaching Out\",\n        \"address\": {\n            \"postalCode\": \"200796\",\n            \"cityName\": \"Craiova\",\n            \"countryCode\": \"RO\",\n            \"addressLine1\": \"Strada Brestei 524A\"\n        }\n    },\n    \"getRateEstimates\": false,\n    \"content\": {\n        \"packages\": [\n            {\n                \"weight\": 9.5,\n                \"dimensions\": {\n                    \"length\": 68,\n                    \"width\": 43,\n                    \"height\": 33\n                },\n                \"lineItems\": [\n                    {\n                        \"number\": 1,\n                        \"description\": \"headlight\",\n                        \"price\": 23.37,\n                        \"quantity\": {\n                            \"value\": 2,\n                            \"unitOfMeasurement\": \"PCS\"\n                        },\n                        \"manufacturerCountry\": \"GY\",\n                        \"weight\": {\n                            \"netValue\": 4.75,\n                            \"grossValue\": 4.75\n                        }\n                    }\n                ]\n            }\n        ],\n        \"isCustomsDeclarable\": true,\n        \"declaredValue\": 50,\n        \"declaredValueCurrency\": \"EUR\",\n        \"description\": \"headlights\",\n        \"unitOfMeasurement\": \"metric\"\n    },\n    \"labelImageFormatCode\": \"GIF\",\n    \"exportReasonType\": \"permenant\",\n    \"stockHeight\": \"10\",\n    \"stockWidth\": \"10\",\n    \"shipmentNotification\": [\n        {\n            \"type\": \"email\",\n            \"email\": \"stefanau7@gmail.com\",\n            \"message\": \"Thank you for purchasing with Parcel Monkey.\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{localUrl}}/api/create-shipment"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.22.1"},{"key":"Date","value":"Wed, 11 Sep 2024 18:31:42 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"182"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"b6-Qhzv7dQ2I5oLSBvplSMeWd9dawE\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Shipment created successfully\",\n    \"data\": {\n        \"_id\": \"66e1e20e4245cdd71d630389\",\n        \"userId\": \"66dae2c4c168ccff3f2b4228\",\n        \"trackingNumber\": [\n            \"7777881171\"\n        ],\n        \"shipmentDetails\": [],\n        \"__v\": 0\n    }\n}"}],"_postman_id":"b336f6e0-570c-4b6e-af53-e60f7418c204"}],"id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"id":"9da1da5a-f7a4-4dcd-9bb0-d88cfc9c0e2d","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"71a8e50e-09fd-49c9-a218-6f795e809a2f","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"6b3b49d1-9a8c-4050-91f5-43b13ce36ef9","description":""},{"name":"Sign Up","event":[{"listen":"test","script":{"id":"605d1ae7-dab9-44bb-bea0-032b7a53feb0","exec":["pm.globals.get(\"variable_key\");\r","pm.environment.get(\"variable_key\");\r","pm.environment.get(\"variable_key\");\r","pm.environment.get(\"variable_key\");\r","pm.environment.get(\"variable_key\");\r","pm.environment.get(\"variable_key\");\r","pm.environment.get(\"variable_key\");\r","pm.environment.get(\"variable_key\");\r","pm.environment.get(\"variable_key\");\r","pm.environment.get(\"variable_key\");"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"6e8ae994-1252-4e38-855b-039ef0692c20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstName\": \"user123\",\n    \"lastName\": \"test\",\n    \"email\": \"user123@gmail.com\",\n    \"password\": \"admin123\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/auth/sign-up","description":"<h3 id=\"post-authsign-up\">POST /auth/sign-up</h3>\n<p>This endpoint is used to sign up a new user. The request should be sent as an HTTPS POST to the specified URL. The request body should contain the user's first name, last name, email, and password in JSON format.<br />Request Body</p>\n<h4 id=\"request-body\">Request Body</h4>\n<ul>\n<li><code>firstName</code> (string, required): The first name of the user.</li>\n<li><code>lastName</code> (string, required): The last name of the user.</li>\n<li><code>email</code> (string, required): The email address of the user.</li>\n<li><code>password</code> (string, required): The password for the user account.</li>\n</ul>\n<h4 id=\"response\">Response</h4>\n<p>The response is in JSON format and has the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"User registered successfully!\"\n}\n\n</code></pre>\n","urlObject":{"path":["auth","sign-up"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e8ae994-1252-4e38-855b-039ef0692c20"},{"name":"Sign In","id":"ad88634f-7f82-44da-87bc-9b3f844e5152","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"User123@gmail.com\",\n    \"password\": \"admin123\"\n}","options":{"raw":{"language":"json"}}},"url":"https://parcelab.com/auth/sign-in","description":"<p>The <code>POST</code> request is used to sign in to the Parcelab application at the specified endpoint.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li>The request body should be in raw format with JSON type.<ul>\n<li><code>email</code> (string): The email of the user.</li>\n<li><code>password</code> (string): The password of the user.</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will have a status code of 201 and a content type of <code>application/json</code>. The response body will contain a JSON schema with the following properties:</p>\n<ul>\n<li><code>token</code> (string): The authentication token for the signed-in user.</li>\n<li><code>message</code> (string): A message related to the sign-in process.</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"token\": {\n      \"type\": \"string\"\n    },\n    \"message\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["auth","sign-in"],"host":["parcelab","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ad88634f-7f82-44da-87bc-9b3f844e5152"}]}