Canada Post Shipment Service Virtual Sandbox
Manage Canada Post shipping workflows including label creation, pricing, and shipment tracking.
The ShipmentService provides a SOAP interface for managing the end-to-end shipping lifecycle. It supports operations for creating shipments, calculating postage rates, retrieving shipment details, voiding labels, and requesting refunds. This service is essential for integrating Canada Post shipping capabilities into e-commerce and logistics platforms.
Use this hosted sandbox to simulate Canada Post Shipment Service APIs without authentication, API keys, or extra dependencies. Point your code or SDK to the Beeceptor base URL, preferably through an environment variable or feature flag, and switch back to the production API when ready.
This keeps your integration code consistent across local development, QA, demos, and production.
Use cases:
Use this sandbox to validate shipment creation payloads, verify postage rate calculations, test label voiding logic, handle refund requests, and simulate shipment retrieval workflows before integrating with Canada Post production systems.
Canada Post Shipment Service virtual sandbox is up and running!
Use this sandbox URL as the API base in your code to simulate Canada Post Shipment Service responses instantly.
https://canada-shipment.mock.beeceptor.com
Operations:(10)
CreateShipment
View
SOAP Action: http://www.canadapost.ca/ws/soap/shipment/v8/CreateShipment
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><create-shipment-request xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><mailed-by>{{faker 'number.int' '{"min":100,"max":999}'}}</mailed-by><mobo>{{faker 'string.numeric' '{"length":10}'}}</mobo><locale>{{oneOf 'fr' 'en'}}</locale><platform-id>{{faker 'string.numeric' '{"length":10}'}}</platform-id><shipment><customer-request-id>{{faker 'string.nanoid'}}</customer-request-id><tns:groupIdOrTransmitShipment xmlns:tns="http://www.canadapost.ca/ws/soap/shipment/v8"/><quickship-label-requested>{{oneOf 'true' 'false'}}</quickship-label-requested><cpc-pickup-indicator>{{oneOf 'true' 'false'}}</cpc-pickup-indicator><requested-shipping-point>{{faker 'string.alphanumeric' '{"length":6,"casing":"upper"}'}}</requested-shipping-point><shipping-point-id>{{faker 'string.uuid'}}</shipping-point-id><expected-mailing-date>{{now 'iso'}}</expected-mailing-date><provide-pricing-info>{{oneOf 'true' 'false'}}</provide-pricing-info><provide-receipt-info>{{oneOf 'true' 'false'}}</provide-receipt-info><delivery-spec><service-code>{{faker 'string.alphanumeric' '{"length":4}'}}</service-code><sender><name>{{faker 'person.fullName'}}</name><company>{{faker 'company.name'}}</company><contact-phone>{{faker 'phone.number' '{"style":"national"}'}}</contact-phone><address-details><address-line-1>{{faker 'location.streetAddress'}}</address-line-1><address-line-2>{{faker 'location.city'}}</address-line-2><city>{{faker 'location.city'}}</city><prov-state>{{faker 'location.state' '{"abbreviated":true}'}}</prov-state><country-code>{{faker 'location.countryCode' '{"variant":"alpha-2"}'}}</country-code><postal-zip-code>{{faker 'location.zipCode'}}</postal-zip-code></address-details></sender><destination><name>{{faker 'person.fullName'}}</name><company>{{faker 'company.name'}}</company><additional-address-info>{{faker 'commerce.productDescription'}}</additional-address-info><client-voice-number>{{faker 'phone.number' '{"style":"national"}'}}</client-voice-number><address-details><address-line-1>{{faker 'location.streetAddress'}}</address-line-1><address-line-2>{{faker 'location.city'}}</address-line-2><city>{{faker 'location.city'}}</city><prov-state>{{faker 'location.state' '{"abbreviated":true}'}}</prov-state><country-code>{{faker 'location.countryCode' '{"variant":"alpha-2"}'}}</country-code><postal-zip-code>{{faker 'location.zipCode'}}</postal-zip-code></address-details></destination><parcel-characteristics><weight>{{faker 'number.float' '{"min":0.1,"max":50,"fractionDigits":2}'}}</weight><unpackaged>{{oneOf 'true' 'false'}}</unpackaged><mailing-tube>{{oneOf 'true' 'false'}}</mailing-tube><oversized>{{oneOf 'true' 'false'}}</oversized></parcel-characteristics><notification><email>{{faker 'internet.email'}}</email><on-shipment>{{oneOf 'true' 'false'}}</on-shipment><on-exception>{{oneOf 'true' 'false'}}</on-exception><on-delivery>{{oneOf 'true' 'false'}}</on-delivery></notification><print-preferences><output-format>{{oneOf '8.5x11' '4x6'}}</output-format><encoding>PDF</encoding></print-preferences><preferences><show-packing-instructions>{{oneOf 'true' 'false'}}</show-packing-instructions><show-postage-rate>{{oneOf 'true' 'false'}}</show-postage-rate><show-insured-value>{{oneOf 'true' 'false'}}</show-insured-value></preferences><references><cost-centre>{{faker 'string.alphanumeric' '{"length":8}'}}</cost-centre><customer-ref-1>{{faker 'string.alphanumeric' '{"length":8}'}}</customer-ref-1><customer-ref-2>{{faker 'string.alphanumeric' '{"length":8}'}}</customer-ref-2></references><customs><currency>CAD</currency><conversion-from-cad>{{faker 'number.float' '{"min":0.5,"max":1.5,"fractionDigits":4}'}}</conversion-from-cad><reason-for-export>{{oneOf 'sale' 'gift' 'sample'}}</reason-for-export><other-reason>{{faker 'commerce.productDescription'}}</other-reason><duties-and-taxes-prepaid>{{faker 'number.float' '{"min":0,"max":50,"fractionDigits":2}'}}</duties-and-taxes-prepaid><certificate-number>{{faker 'string.alphanumeric' '{"length":6}'}}</certificate-number><licence-number>{{faker 'string.alphanumeric' '{"length":6}'}}</licence-number><invoice-number>{{faker 'string.alphanumeric' '{"length":8}'}}</invoice-number><ioss-id>{{faker 'string.alphanumeric' '{"length":8}'}}</ioss-id><us-declaration-id>{{faker 'string.alphanumeric' '{"length":6}'}}</us-declaration-id></customs><settlement-info><paid-by-customer>{{faker 'string.numeric' '{"length":7}'}}</paid-by-customer><contract-id>{{faker 'string.numeric' '{"length":10}'}}</contract-id><cif-shipment>{{oneOf 'true' 'false'}}</cif-shipment><intended-method-of-payment>Account</intended-method-of-payment><promo-code>{{faker 'string.alphanumeric' '{"length":6}'}}</promo-code></settlement-info></delivery-spec><return-spec><service-code>{{faker 'string.alphanumeric' '{"length":4}'}}</service-code><return-recipient><name>{{faker 'person.fullName'}}</name><company>{{faker 'company.name'}}</company><address-details><address-line-1>{{faker 'location.streetAddress'}}</address-line-1><address-line-2>{{faker 'location.city'}}</address-line-2><city>{{faker 'location.city'}}</city><prov-state>{{faker 'location.state' '{"abbreviated":true}'}}</prov-state><postal-zip-code>{{faker 'location.zipCode'}}</postal-zip-code></address-details></return-recipient><return-notification>{{faker 'internet.email'}}</return-notification></return-spec><pre-authorized-payment><account-number>{{faker 'string.numeric' '{"length":8}'}}</account-number><auth-code>{{faker 'string.alphanumeric' '{"length":6}'}}</auth-code><auth-timestamp>{{now 'iso'}}</auth-timestamp><charge-amount>{{faker 'number.float' '{"min":5,"max":100,"fractionDigits":2}'}}</charge-amount></pre-authorized-payment><create-public-key>{{oneOf 'true' 'false'}}</create-public-key><create-qr-code>{{oneOf 'true' 'false'}}</create-qr-code></shipment></create-shipment-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><create-shipment-response xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><shipment-info><customer-request-id>{{faker 'string.nanoid'}}</customer-request-id><shipment-id>{{faker 'string.numeric' '{"length":12}'}}</shipment-id><shipment-status>Created</shipment-status><tracking-pin>{{faker 'string.numeric' '{"length":16}'}}</tracking-pin><return-tracking-pin>{{faker 'string.numeric' '{"length":16}'}}</return-tracking-pin><po-number>{{faker 'string.alphanumeric' '{"length":6}'}}</po-number><shipment-price><service-code>DOM.EP</service-code><base-amount>{{faker 'number.float' '{"min":10,"max":50,"fractionDigits":2}'}}</base-amount><priced-options>{{#repeat 2 comma=false}}<priced-option><option-code>{{oneOf 'PA' 'SO' 'IN'}}</option-code><option-price>{{faker 'number.float' '{"min":1,"max":10,"fractionDigits":2}'}}</option-price></priced-option>{{/repeat}}</priced-options><adjustments>{{#repeat 1 comma=false}}<adjustment><adjustment-code>DISC</adjustment-code><adjustment-amount>{{faker 'number.float' '{"min":0,"max":5,"fractionDigits":2}'}}</adjustment-amount></adjustment>{{/repeat}}</adjustments><pre-tax-amount>{{faker 'number.float' '{"min":10,"max":60,"fractionDigits":2}'}}</pre-tax-amount><gst-amount>{{faker 'number.float' '{"min":0,"max":5,"fractionDigits":2}'}}</gst-amount><pst-amount>{{faker 'number.float' '{"min":0,"max":5,"fractionDigits":2}'}}</pst-amount><hst-amount>{{faker 'number.float' '{"min":0,"max":5,"fractionDigits":2}'}}</hst-amount><due-amount>{{faker 'number.float' '{"min":12,"max":70,"fractionDigits":2}'}}</due-amount><service-standard><am-delivery>{{oneOf 'true' 'false'}}</am-delivery><guaranteed-delivery>true</guaranteed-delivery><expected-transmit-time>{{faker 'number.int' '{"min":1,"max":5}'}}</expected-transmit-time><expected-delivery-date>{{now '{days:3}' 'iso'}}</expected-delivery-date></service-standard><rated-weight>{{faker 'number.float' '{"min":0.5,"max":10,"fractionDigits":2}'}}</rated-weight></shipment-price><shipment-receipt/><group-id>{{faker 'string.uuid'}}</group-id><artifacts>{{#repeat 1 comma=false}}<artifact type="self"><artifact-id>{{faker 'string.numeric' '{"length":8}'}}</artifact-id><page-index>1</page-index></artifact>{{/repeat}}</artifacts></shipment-info></create-shipment-response></soap:Body></soap:Envelope>GetShipment
View
SOAP Action: http://www.canadapost.ca/ws/soap/shipment/v8/GetShipment
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-shipment-request xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><mailed-by>1392</mailed-by><mobo>38</mobo><locale>fr</locale><platform-id>3020</platform-id><shipment-id>{{faker 'string.alphanumeric' '{"length":10}'}}</shipment-id></get-shipment-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-shipment-response xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><shipment-info><customer-request-id>{{faker 'string.uuid'}}</customer-request-id><shipment-id>{{faker 'string.alphanumeric' '{"length":10}'}}</shipment-id><shipment-status>{{oneOf 'DELIVERED' 'IN_TRANSIT' 'PENDING' 'RETURNED'}}</shipment-status><tracking-pin>{{faker 'string.numeric' '{"length":16}'}}</tracking-pin><return-tracking-pin>{{faker 'string.numeric' '{"length":16}'}}</return-tracking-pin><po-number>{{faker 'string.alphanumeric' '{"length":8}'}}</po-number><group-id>{{faker 'string.uuid'}}</group-id><artifacts>{{#repeat (faker 'number.int' '{"min":1,"max":3}') comma=false}}<artifact type="{{oneOf 'self' 'label' 'return'}}"><artifact-id>{{faker 'number.int' '{"min":100,"max":999}'}}</artifact-id><page-index>{{faker 'number.int' '{"min":1,"max":5}'}}</page-index></artifact>{{/repeat}}</artifacts></shipment-info></get-shipment-response></soap:Body></soap:Envelope>GetShipmentDetails
View
SOAP Action: http://www.canadapost.ca/ws/soap/shipment/v8/GetShipmentDetails
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-shipment-details-request xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><mailed-by>{{faker 'string.numeric' '{"length":10}'}}</mailed-by><mobo>{{faker 'number.int' '{"min":1,"max":9}'}}</mobo><locale>{{oneOf 'en' 'fr'}}</locale><platform-id>{{faker 'string.numeric' '{"length":9}'}}</platform-id><shipment-id>{{faker 'string.alphanumeric' '{"length":12}'}}</shipment-id></get-shipment-details-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-shipment-details-response xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><shipment-details><customer-request-id>{{faker 'string.uuid'}}</customer-request-id><shipment-status>{{oneOf 'Delivered' 'In Transit' 'Out for Delivery' 'Delayed'}}</shipment-status><final-shipping-point>{{faker 'location.zipCode'}}</final-shipping-point><tracking-pin>{{faker 'string.numeric' '{"length":16}'}}</tracking-pin><po-number>{{faker 'string.alphanumeric' '{"length":10}'}}</po-number><shipping-point-id>{{faker 'string.alphanumeric' '{"length":6}'}}</shipping-point-id><cpc-pickup-indicator>{{oneOf 'true' 'false'}}</cpc-pickup-indicator></shipment-details></get-shipment-details-response></soap:Body></soap:Envelope>GetShipmentPrice
View
SOAP Action: http://www.canadapost.ca/ws/soap/shipment/v8/GetShipmentPrice
Request Envelope
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<get-shipment-price-request xmlns="http://www.canadapost.ca/ws/soap/shipment/v8">
<mailed-by>1001016075</mailed-by>
<mobo>1542950</mobo>
<locale>{{oneOf 'en' 'fr'}}</locale>
<platform-id>9710506</platform-id>
<shipment-id>{{faker 'string.alphanumeric' '{"length":10}'}}</shipment-id>
</get-shipment-price-request>
</soap:Body>
</soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<get-shipment-price-response xmlns="http://www.canadapost.ca/ws/soap/shipment/v8">
<shipment-price>
<service-code>{{oneOf 'DOM.XP' 'DOM.RP' 'USA.EP' 'INT.XP'}}</service-code>
<base-amount>{{faker 'finance.amount' '{"min":10,"max":500,"dec":2}'}}</base-amount>
<priced-options>
{{#repeat (faker 'number.int' '{"min":1,"max":3}') comma=false}}
<priced-option>
<option-code>{{oneOf 'SO' 'DC' 'PA'}}</option-code>
<option-price>{{faker 'finance.amount' '{"min":1,"max":50,"dec":2}'}}</option-price>
</priced-option>
{{/repeat}}
</priced-options>
<adjustments>
{{#repeat (faker 'number.int' '{"min":0,"max":2}') comma=false}}
<adjustment>
<adjustment-code>{{oneOf 'FUEL' 'FEE'}}</adjustment-code>
<adjustment-amount>{{faker 'finance.amount' '{"min":1,"max":20,"dec":2}'}}</adjustment-amount>
</adjustment>
{{/repeat}}
</adjustments>
<pre-tax-amount>{{faker 'finance.amount' '{"min":10,"max":600,"dec":2}'}}</pre-tax-amount>
<gst-amount>{{faker 'finance.amount' '{"min":0,"max":30,"dec":2}'}}</gst-amount>
<pst-amount>{{faker 'finance.amount' '{"min":0,"max":30,"dec":2}'}}</pst-amount>
<hst-amount>{{faker 'finance.amount' '{"min":0,"max":30,"dec":2}'}}</hst-amount>
<due-amount>{{faker 'finance.amount' '{"min":10,"max":700,"dec":2}'}}</due-amount>
<service-standard>
<am-delivery>{{oneOf 'true' 'false'}}</am-delivery>
<guaranteed-delivery>{{oneOf 'true' 'false'}}</guaranteed-delivery>
<expected-transmit-time>{{faker 'number.int' '{"min":1,"max":14}'}}</expected-transmit-time>
<expected-delivery-date>{{now "{days:3}" "iso"}}</expected-delivery-date>
</service-standard>
<rated-weight>{{faker 'number.float' '{"min":0.5,"max":20.0,"fractionDigits":2}'}}</rated-weight>
</shipment-price>
</get-shipment-price-response>
</soap:Body>
</soap:Envelope>GetGroups
View
SOAP Action: http://www.canadapost.ca/ws/soap/shipment/v8/GetGroups
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-groups-request xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><mailed-by>{{faker 'string.numeric' '{"length":9}'}}</mailed-by><mobo>{{faker 'string.numeric' '{"length":10}'}}</mobo><locale>{{oneOf 'en' 'fr'}}</locale><platform-id>{{faker 'string.numeric' '{"length":6}'}}</platform-id></get-groups-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-groups-response xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><groups>{{#repeat (faker 'number.int' '{"min":1,"max":5}') comma=false}}<group-id>{{faker 'string.alphanumeric' '{"length":8,"casing":"upper"}'}}</group-id>{{/repeat}}</groups></get-groups-response></soap:Body></soap:Envelope>GetShipments
View
SOAP Action: http://www.canadapost.ca/ws/soap/shipment/v8/GetShipments
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-shipments-request xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><mailed-by>{{faker 'number.int' '{"min":100,"max":999}'}}</mailed-by><mobo>{{faker 'string.numeric' '{"length":10}'}}</mobo><locale>{{oneOf 'en' 'fr'}}</locale><platform-id>{{faker 'string.numeric' '{"length":8}'}}</platform-id><provide-shipment-info>{{oneOf 'true' 'false'}}</provide-shipment-info><regular-shipping-parameters><group-id>{{faker 'string.alphanumeric' '{"length":5}'}}</group-id></regular-shipping-parameters></get-shipments-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-shipments-response xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><shipments>{{#repeat (faker 'number.int' '{"min":1,"max":5}') comma=false}}<shipment><shipment-id>{{faker 'string.uuid'}}</shipment-id><tracking-number>{{faker 'string.numeric' '{"length":16}'}}</tracking-number><status>{{oneOf 'shipped' 'in-transit' 'delivered' 'returned'}}</status><created-at>{{now 'iso'}}</created-at></shipment>{{/repeat}}</shipments></get-shipments-response></soap:Body></soap:Envelope>VoidShipment
View
SOAP Action: http://www.canadapost.ca/ws/soap/shipment/v8/VoidShipment
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><void-shipment-request xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><mailed-by>383</mailed-by><mobo>6088964447</mobo><locale>{{oneOf 'En' 'Fr'}}</locale><platform-id>85195424</platform-id><shipment-id>{{faker 'string.alphanumeric' '{"length":12}'}}</shipment-id></void-shipment-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><void-shipment-response xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><void-shipment-success>{{oneOf 'true' 'false'}}</void-shipment-success></void-shipment-response></soap:Body></soap:Envelope>GetShipmentReceipt
View
SOAP Action: http://www.canadapost.ca/ws/soap/shipment/v8/GetShipmentReceipt
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-shipment-receipt-request xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><mailed-by>{{faker 'string.numeric' '{"length":8}'}}</mailed-by><mobo>{{faker 'number.int' '{"min":1,"max":100}'}}</mobo><locale>{{oneOf 'en' 'fr'}}</locale><platform-id>{{faker 'string.numeric' '{"length":1}'}}</platform-id><shipment-id>{{faker 'string.alphanumeric' '{"length":12}'}}</shipment-id></get-shipment-receipt-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-shipment-receipt-response xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><shipment-receipt>{{faker 'internet.url'}}</shipment-receipt></get-shipment-receipt-response></soap:Body></soap:Envelope>RequestShipmentRefund
View
SOAP Action: http://www.canadapost.ca/ws/soap/shipment/v8/RequestShipmentRefund
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><request-shipment-refund-request xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><mailed-by>{{faker 'string.numeric' '{"length":4}'}}</mailed-by><mobo>{{faker 'string.numeric' '{"length":9}'}}</mobo><locale>{{oneOf 'fR' 'eN'}}</locale><platform-id>{{faker 'string.numeric' '{"length":10}'}}</platform-id><shipment-id>{{faker 'string.alphanumeric' '{"length":8}'}}</shipment-id><shipment-refund-request><email>{{faker 'internet.email'}}</email></shipment-refund-request></request-shipment-refund-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><request-shipment-refund-response xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><shipment-refund-request-info><service-ticket-date>{{now 'iso'}}</service-ticket-date><service-ticket-id>{{faker 'string.uuid'}}</service-ticket-id></shipment-refund-request-info></request-shipment-refund-response></soap:Body></soap:Envelope>GetShipmentPublicKeyInfo
View
SOAP Action: http://www.canadapost.ca/ws/soap/shipment/v8/GetShipmentPublicKeyInfo
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-public-key-info-request xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><mailed-by>{{faker 'string.numeric' '{"length":4}'}}</mailed-by><mobo>{{faker 'string.numeric' '{"length":3}'}}</mobo><locale>{{oneOf 'en' 'fr'}}</locale><platform-id>{{faker 'string.numeric' '{"length":5}'}}</platform-id><shipment-id>{{faker 'string.alphanumeric' '{"length":12}'}}</shipment-id></get-public-key-info-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-public-key-info-response xmlns="http://www.canadapost.ca/ws/soap/shipment/v8"><shipment-public-key-info><expiry-date>{{now '{days:30}' 'iso'}}</expiry-date><url>{{faker 'internet.url'}}</url><qr-code>{{faker 'string.alphanumeric' '{"length":20}'}}</qr-code></shipment-public-key-info></get-public-key-info-response></soap:Body></soap:Envelope>canada-postshippinglogisticssoapwsdl