{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["carrierMetadata"]},"type":"markdown"},"seo":{"title":"Canada Post Corporation (CPC)","description":"itney Bowes Shipping API, developers can integrate features such as comparing shipping rates from multiple carriers, creating and purchasing shipping labels, tracking packages, scheduling pickups, managing returns, and accessing other shipping features. These APIs also offers a variety of shipping services, including international shipping and multi-carrier rate shopping, which allows developers to choose the best carrier and rate for each shipment.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"canada-post-corporation-cpc","__idx":0},"children":["Canada Post Corporation (CPC)"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"overview","__idx":1},"children":["Overview"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Canada Post Corporation (CPC) is a national postal service provider in Canada. It deals with shipping and mailing services, and the major products and services have been divided into three categories:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Transaction Mail"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Parcels"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Direct marketing"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["We, PB-SendTech Solution, trade with Parcels services only."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"onboarding-of-a-canada-post-carrier-account","__idx":2},"children":["Onboarding of a Canada Post Carrier Account"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To onboard a CPC carrier account, the user needs to possess the following pre-requisites:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Payment Method"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Location ID"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For onboarding the carrier, an API request call is made, that covers all the essentials. Below is the Sample Request to onboard CPC carrier:"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"cpc-sample-request","__idx":3},"children":["CPC Sample Request"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"{\n    \"carrierID\": \"CPC\",\n    \"description\": \"CPC\",\n    \"carrierAccountType\": \"Shipping\",\n    \"provisioningType\": \"API\",\n    \"parameters\": {\n        \"paymentMethod\": \"CARRIER\",\n        \"locationID\": \"04vkZJPqo1Y\"\n    }\n}\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If the request to onboard the CPC carrier account is successful, the response will have all the details as indicated in the below Sample Response."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"cpc-sample-response","__idx":4},"children":["CPC Sample Response"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"{\n    \"carrierAccountID\": \"xxxx1xxxx4dn\",\n    \"description\": \"CPC\",\n    \"carrierID\": \"CPC\",\n    \"accountNumber\": \"xxxxxxxx\",\n    \"parameters\": {\n        \"accountType\": \"ENTERPRISE\",\n        \"customerNumber\": \"xxxxxxxx\",\n        \"email\": \"xxxx@xxx.xx\",\n        \"paymentMethod\": \"CARRIER\",\n        \"shipToBpn\": \"xxxxxxx\",\n        \"username\": \"xxxxcccbb611xxx\"\n    },\n    \"carrierAccountType\": \"Shipping\",\n    \"provisioningType\": \"Web\"\n}\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"api-operations-for-shipping-with-cpc","__idx":5},"children":["API Operations for Shipping with CPC"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The APIs integrate with CPC through the following operations:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Operations"},"children":["Operations"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Method"},"children":["Method"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Resource Path"},"children":["Resource Path"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add a Carrier Account"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["POST"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/api/v1/carrierAccounts"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Rate a Parcel"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["POST"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/api/v1/rates"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create a Shipping Label"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["POST"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/api/v1/shipments"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Reprint a Label"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GET"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/api/v1/shipments/{{shipmentId}}/reprint"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Void a Label"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PUT"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/api/v1/shipments/{{shipmentId}}/cancel"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Get Tracking Information"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GET"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/api/v1/tracking/{{trackingNumber}}"]}]}]}]}]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Canada Post also supports ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["shipmentByRateShop"]}," operations:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Operations"},"children":["Operations"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Method"},"children":["Method"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Resource Path"},"children":["Resource Path"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create a Shipping Label"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["POST"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/api/v2/shipments"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Reprint a Label"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["POST"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/api/v2/shipments/reprint"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Void a Label"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["POST"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["/api/v2/shipments/cancel"]}]}]}]}]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"metadata","__idx":6},"children":["Metadata"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Metadata provides information about CPC carrier services, including origin and destination countries, supported carrier services, supported package types, and supported special services. Users can select specific origin and destination countries from the provided dropdown menu to dynamically view relevant metadata specific to those countries."]},{"$$mdtype":"Tag","name":"CarrierMetadata","attributes":{"carrierID":"CPC"},"children":[]}]},"headings":[{"value":"Canada Post Corporation (CPC)","id":"canada-post-corporation-cpc","depth":1},{"value":"Overview","id":"overview","depth":2},{"value":"Onboarding of a Canada Post Carrier Account","id":"onboarding-of-a-canada-post-carrier-account","depth":2},{"value":"CPC Sample Request","id":"cpc-sample-request","depth":4},{"value":"CPC Sample Response","id":"cpc-sample-response","depth":4},{"value":"API Operations for Shipping with CPC","id":"api-operations-for-shipping-with-cpc","depth":2},{"value":"Metadata","id":"metadata","depth":2}],"frontmatter":{"title":"CPC","description":"CPC carrier description","tocMaxDepth":3,"seo":{"title":"Canada Post Corporation (CPC)"}},"lastModified":"2026-05-15T13:59:45.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/docs/shipping/carriers/overview/canadapost","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}