{"id":90008,"date":"2026-11-18T21:11:04","date_gmt":"2026-11-18T21:11:04","guid":{"rendered":"https:\/\/northcreativecollective.se\/?page_id=90008"},"modified":"2026-11-28T10:12:11","modified_gmt":"2026-11-28T10:12:11","slug":"return-carriers","status":"publish","type":"page","link":"https:\/\/northcreativecollective.se\/en\/docs\/developers\/return-carriers\/","title":{"rendered":"Return carriers"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A return carrier connects a shipping service to North Return Manager. With a carrier, the shop can offer return shipping options in the return portal, book the return shipment when a return is approved, print the label and follow the parcel back. North Shipping Manager Premium uses this interface for Sendify, and you can use it to connect any other shipping service.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Without a carrier, North Return Manager still works: the customer sends the parcel themselves.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Register your carrier<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Implement <code>\\NorthReturnManager\\Carriers\\Carrier<\/code> and register it when North Return Manager has loaded. Reference the interface only inside the callback, so your plugin keeps working when North Return Manager is not installed.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>add_action( &#x27;north_return_manager_loaded&#x27;, function ( int $api ) {\n\tif ( 1 !== $api ) {\n\t\treturn; \/\/ Only register for the API version you were built for.\n\t}\n\trequire_once __DIR__ . &#x27;\/class-my-return-carrier.php&#x27;;\n\tadd_filter( &#x27;north_return_manager_carriers&#x27;, function ( array $carriers ) {\n\t\t$carriers[&#x27;mycarrier&#x27;] = new My_Return_Carrier();\n\t\treturn $carriers;\n\t} );\n} );<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">The interface<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Method<\/th><th>Returns<\/th><th>Purpose<\/th><\/tr><\/thead><tbody><tr><td><code>id()<\/code><\/td><td><code>string<\/code><\/td><td>A short machine id, for example <code>mycarrier<\/code><\/td><\/tr><tr><td><code>label()<\/code><\/td><td><code>string<\/code><\/td><td>The name shown to the shop<\/td><\/tr><tr><td><code>capabilities()<\/code><\/td><td><code>string[]<\/code><\/td><td>What the carrier can do, see below<\/td><\/tr><tr><td><code>methods( $return )<\/code><\/td><td><code>array<\/code><\/td><td>The ways this return can be sent<\/td><\/tr><tr><td><code>points( $return, $query )<\/code><\/td><td><code>array<\/code><\/td><td>Service points near the customer, or near a postcode or town<\/td><\/tr><tr><td><code>book( $return, $choice )<\/code><\/td><td><code>array<\/code><\/td><td>Books the return shipment<\/td><\/tr><tr><td><code>label_pdf( $return )<\/code><\/td><td><code>string<\/code><\/td><td>The label as a PDF string, or <code>&#x27;&#x27;<\/code><\/td><\/tr><tr><td><code>cancel( $return )<\/code><\/td><td><code>bool<\/code><\/td><td>Cancels a booked shipment when the return is cancelled<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Capabilities<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Value<\/th><th>Meaning<\/th><\/tr><\/thead><tbody><tr><td><code>quote<\/code><\/td><td><code>methods()<\/code> returns prices<\/td><\/tr><tr><td><code>label<\/code><\/td><td>The carrier books shipments and provides labels<\/td><\/tr><tr><td><code>points<\/code><\/td><td>The customer can choose a service point<\/td><\/tr><tr><td><code>pickup<\/code><\/td><td>The carrier can collect at the customer&#8217;s address<\/td><\/tr><tr><td><code>tracking<\/code><\/td><td>The carrier reports progress, see below<\/td><\/tr><tr><td><code>cost<\/code><\/td><td>The carrier can tell what a booked shipment actually cost. Implement <code>CostAware<\/code> too<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><code>methods()<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Return one entry per way of sending:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>return array(\n\tarray(\n\t\t&#x27;id&#x27;          =&gt; &#x27;parcel_point&#x27;,\n\t\t&#x27;label&#x27;       =&gt; &#x27;Drop off at a service point&#x27;,\n\t\t&#x27;description&#x27; =&gt; &#x27;Print the label and leave the parcel at a service point near you.&#x27;,\n\t\t&#x27;price&#x27;       =&gt; 49.0,  \/\/ What the customer pays, or null if the shop pays or the price is unknown.\n\t\t&#x27;needs_point&#x27; =&gt; true,  \/\/ The customer must choose a service point.\n\t),\n);<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><code>points()<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Return service points as <code>id<\/code>, <code>name<\/code>, <code>address<\/code> and, if you have it, <code>distance<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><code>book()<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>$choice<\/code> contains <code>method<\/code> and, when the method needs one, <code>point<\/code>. Return:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Key<\/th><th>Type<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><code>ok<\/code><\/td><td><code>bool<\/code><\/td><td>Whether the booking succeeded<\/td><\/tr><tr><td><code>message<\/code><\/td><td><code>string<\/code><\/td><td>An error message to show the shop, when <code>ok<\/code> is false<\/td><\/tr><tr><td><code>carrier<\/code><\/td><td><code>string<\/code><\/td><td>The carrier&#8217;s name, for example <code>PostNord<\/code><\/td><\/tr><tr><td><code>tracking<\/code><\/td><td><code>string<\/code><\/td><td>The tracking number<\/td><\/tr><tr><td><code>label_url<\/code><\/td><td><code>string<\/code><\/td><td>A link to the label, if the label is not served through <code>label_pdf()<\/code><\/td><\/tr><tr><td><code>pickup<\/code><\/td><td><code>string<\/code><\/td><td>Pickup details, when the carrier collects<\/td><\/tr><tr><td><code>instructions<\/code><\/td><td><code>string<\/code><\/td><td>Instructions to the customer<\/td><\/tr><tr><td><code>price<\/code><\/td><td><code>float<\/code><\/td><td>What the booking cost the shop, excluding the shop&#8217;s markup<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When you return <code>price<\/code>, the return shipping deduction follows the real cost. If the cost is higher than what the customer agreed to, the customer is asked to approve the new amount.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Report tracking<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If your carrier lists <code>tracking<\/code>, report progress with an action:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>do_action( &#x27;north_return_manager_shipment_update&#x27;, $return_id, &#x27;in_transit&#x27;, array(\n\t&#x27;status&#x27;     =&gt; &#x27;IN_TRANSIT&#x27;,\n\t&#x27;created_at&#x27; =&gt; gmdate( &#x27;c&#x27; ),\n) );<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>State<\/th><th>Meaning<\/th><\/tr><\/thead><tbody><tr><td><code>in_transit<\/code><\/td><td>The parcel has been picked up or dropped off. An approved return moves to <strong>In transit<\/strong><\/td><\/tr><tr><td><code>delivered<\/code><\/td><td>The parcel has arrived at the shop. Fires <code>north_return_manager_parcel_arrived<\/code><\/td><\/tr><tr><td><code>exception<\/code><\/td><td>Something went wrong. The shop sees it in the return&#8217;s history<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The event may also include <code>description<\/code> and <code>location_name<\/code>. They are shown only to the shop, never to the customer. If the carrier later charges more, for example for weight, include <code>price<\/code> and the return records the new cost.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Actual cost (optional)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Implement <code>\\NorthReturnManager\\Carriers\\CostAware<\/code> and list <code>cost<\/code> in <code>capabilities()<\/code>. The return then shows a button that fetches what the booked shipment actually cost:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public function cost( \\NorthReturnManager\\ReturnRequest $return ): array {\n\treturn array( &#x27;ok&#x27; =&gt; true, &#x27;price&#x27; =&gt; 89.0, &#x27;currency&#x27; =&gt; &#x27;SEK&#x27; );\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check <code>interface_exists( &#x27;\\NorthReturnManager\\Carriers\\CostAware&#x27; )<\/code> before you implement it, so your carrier also works with older versions of North Return Manager.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Good practice<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Never block the return flow.<\/strong> If your service is down, return <code>ok =&gt; false<\/code> with a clear message. The shop can then book by hand or let the customer send the parcel themselves.<\/li>\n\n<li><strong>Keep the customer&#8217;s data with the carrier.<\/strong> Send the customer&#8217;s address only to the shipping service that books the shipment.<\/li>\n\n<li><strong>Keep the shop&#8217;s private addresses private.<\/strong> If the shop picks up at a secret address, never show it to the customer in labels, emails or tracking texts.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A return carrier connects a shipping service to North Return Manager. With a carrier, the shop can offer return shipping options in the return portal, book the return shipment when a return is approved, print the label and follow the parcel back. North Shipping Manager Premium uses this interface for Sendify, and you can use [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":90005,"menu_order":640,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-90008","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Return carriers - North Creative Collective<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/northcreativecollective.se\/en\/docs\/developers\/return-carriers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Return carriers - North Creative Collective\" \/>\n<meta property=\"og:description\" content=\"A return carrier connects a shipping service to North Return Manager. With a carrier, the shop can offer return shipping options in the return portal, book the return shipment when a return is approved, print the label and follow the parcel back. North Shipping Manager Premium uses this interface for Sendify, and you can use [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/northcreativecollective.se\/en\/docs\/developers\/return-carriers\/\" \/>\n<meta property=\"og:site_name\" content=\"North Creative Collective\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-28T10:12:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/northcreativecollective.se\/wp-content\/uploads\/2026\/11\/north-architecture-1024x683.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/northcreativecollective.se\\\/docs\\\/developers\\\/return-carriers\\\/\",\"url\":\"https:\\\/\\\/northcreativecollective.se\\\/docs\\\/developers\\\/return-carriers\\\/\",\"name\":\"Return carriers - North Creative Collective\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/northcreativecollective.se\\\/#website\"},\"datePublished\":\"2026-11-18T21:11:04+00:00\",\"dateModified\":\"2026-11-28T10:12:11+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/northcreativecollective.se\\\/docs\\\/developers\\\/return-carriers\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/northcreativecollective.se\\\/docs\\\/developers\\\/return-carriers\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/northcreativecollective.se\\\/docs\\\/developers\\\/return-carriers\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hem\",\"item\":\"https:\\\/\\\/northcreativecollective.se\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"North-pluginerna \u2013 anv\u00e4ndarguide\",\"item\":\"https:\\\/\\\/northcreativecollective.se\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Developer documentation\",\"item\":\"https:\\\/\\\/northcreativecollective.se\\\/docs\\\/developers\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Return carriers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/northcreativecollective.se\\\/#website\",\"url\":\"https:\\\/\\\/northcreativecollective.se\\\/\",\"name\":\"North Creative Collective\",\"description\":\"Ett kreativt kollektiv f\u00f6r moderna varum\u00e4rken och projekt\",\"publisher\":{\"@id\":\"https:\\\/\\\/northcreativecollective.se\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/northcreativecollective.se\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/northcreativecollective.se\\\/#organization\",\"name\":\"North Creative Collective\",\"url\":\"https:\\\/\\\/northcreativecollective.se\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/northcreativecollective.se\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/northcreativecollective.se\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/northcreativecollective.se\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/logo.png\",\"width\":1774,\"height\":887,\"caption\":\"North Creative Collective\"},\"image\":{\"@id\":\"https:\\\/\\\/northcreativecollective.se\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Return carriers - North Creative Collective","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/northcreativecollective.se\/en\/docs\/developers\/return-carriers\/","og_locale":"en_US","og_type":"article","og_title":"Return carriers - North Creative Collective","og_description":"A return carrier connects a shipping service to North Return Manager. With a carrier, the shop can offer return shipping options in the return portal, book the return shipment when a return is approved, print the label and follow the parcel back. North Shipping Manager Premium uses this interface for Sendify, and you can use [&hellip;]","og_url":"https:\/\/northcreativecollective.se\/en\/docs\/developers\/return-carriers\/","og_site_name":"North Creative Collective","article_modified_time":"2026-11-28T10:12:11+00:00","og_image":[{"url":"https:\/\/northcreativecollective.se\/wp-content\/uploads\/2026\/11\/north-architecture-1024x683.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/northcreativecollective.se\/docs\/developers\/return-carriers\/","url":"https:\/\/northcreativecollective.se\/docs\/developers\/return-carriers\/","name":"Return carriers - North Creative Collective","isPartOf":{"@id":"https:\/\/northcreativecollective.se\/#website"},"datePublished":"2026-11-18T21:11:04+00:00","dateModified":"2026-11-28T10:12:11+00:00","breadcrumb":{"@id":"https:\/\/northcreativecollective.se\/docs\/developers\/return-carriers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/northcreativecollective.se\/docs\/developers\/return-carriers\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/northcreativecollective.se\/docs\/developers\/return-carriers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Hem","item":"https:\/\/northcreativecollective.se\/"},{"@type":"ListItem","position":2,"name":"North-pluginerna \u2013 anv\u00e4ndarguide","item":"https:\/\/northcreativecollective.se\/docs\/"},{"@type":"ListItem","position":3,"name":"Developer documentation","item":"https:\/\/northcreativecollective.se\/docs\/developers\/"},{"@type":"ListItem","position":4,"name":"Return carriers"}]},{"@type":"WebSite","@id":"https:\/\/northcreativecollective.se\/#website","url":"https:\/\/northcreativecollective.se\/","name":"North Creative Collective","description":"Ett kreativt kollektiv f\u00f6r moderna varum\u00e4rken och projekt","publisher":{"@id":"https:\/\/northcreativecollective.se\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/northcreativecollective.se\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/northcreativecollective.se\/#organization","name":"North Creative Collective","url":"https:\/\/northcreativecollective.se\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/northcreativecollective.se\/#\/schema\/logo\/image\/","url":"https:\/\/northcreativecollective.se\/wp-content\/uploads\/2026\/10\/logo.png","contentUrl":"https:\/\/northcreativecollective.se\/wp-content\/uploads\/2026\/10\/logo.png","width":1774,"height":887,"caption":"North Creative Collective"},"image":{"@id":"https:\/\/northcreativecollective.se\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/northcreativecollective.se\/en\/wp-json\/wp\/v2\/pages\/90008","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/northcreativecollective.se\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/northcreativecollective.se\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/northcreativecollective.se\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/northcreativecollective.se\/en\/wp-json\/wp\/v2\/comments?post=90008"}],"version-history":[{"count":1,"href":"https:\/\/northcreativecollective.se\/en\/wp-json\/wp\/v2\/pages\/90008\/revisions"}],"predecessor-version":[{"id":90037,"href":"https:\/\/northcreativecollective.se\/en\/wp-json\/wp\/v2\/pages\/90008\/revisions\/90037"}],"up":[{"embeddable":true,"href":"https:\/\/northcreativecollective.se\/en\/wp-json\/wp\/v2\/pages\/90005"}],"wp:attachment":[{"href":"https:\/\/northcreativecollective.se\/en\/wp-json\/wp\/v2\/media?parent=90008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}