Shipping - Orders Api https://developer-npe.yodel.co.uk/sb/ en URL Open error https://developer-npe.yodel.co.uk/sb/node/314 <span property="schema:name">URL Open error</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field--label">Forums</div> <div class="field--item"><a href="/sb/taxonomy/term/6" hreflang="en">Shipping - Orders Api</a></div> </div> <div property="schema:text" class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>We are trying to integrate with your Orders endpoint and we get the following error<br /> { "httpCode":"500", "httpMessage":"URL Open error", "moreInformation":"Could not connect to endpoint" }<br /><br /> I include the CURL request below. Can you please help us resolve this issue? Many thanks.<br /><br /> curl '<a href="https://api-sb.yodel.co.uk/shipping/v1.0/orders" rel="nofollow">https://api-sb.yodel.co.uk/shipping/v1.0/orders</a>' \<br /> -H 'Accept: application/json' \<br /> -H 'Authorization: Bearer AAIgMjMzZTkxZTYyMjc5MDkwN2QyYjNlNzBmMzRkZDkyYTluaCcFnfn6ObOSGD628M2XymjDUwy1CCEzYrjZg37EkoAg4lw6hM67IioU-KI8FiliTNqPmsmkJqJ5ORy6QYuscAkv8WMWgRZs4SwW9W-csspSTk0pHDy14mFU6Y5PTgQDOI0ylcboXBEzMtOJha0njBRT76txjR3c2pgVL2pVAg' \<br /> -H 'Connection: keep-alive' \<br /> -H 'Content-Type: application/json' \<br /> -H 'X-IBM-Client-Id: 233e91e622790907d2b3e70f34dd92a9' \<br /> --data-raw $'{\n "brand": "YODEL TEST",\n "clientAccount": 100001,\n "clientReference": "ABC1234567",\n "collectionPoint": 2,\n "contractNumber": 9876543,\n "customerReference": "ABC1234567",\n "labelFormat": "PDF",\n "numberOfParcels": 2,\n "service": "1CN",\n "shipmentDate": "2019-03-04",\n "to": {\n "address": {\n "addressLine1": "34 Oxford Road",\n "addressLine2": "Room 5",\n "countryCode": "GB",\n "county": "Lancashire",\n "departmentName": "Sales",\n "organisationName": "Yodel",\n "postcode": "M4 4AX",\n "town": "Liverpool"\n },\n "customerContactNumber": "0123456789",\n "customerEmail": "<a href="mailto:email@example.com" rel="nofollow">email@example.com</a>",\n "customerName": "John Smith",\n "deliveryPreferences": "Leave by back door",\n "emailNotification": true,\n "phoneNotification": false,\n "storeCode": "W20T"\n }\n}' \<br /> --compressed</p></div> <span rel="schema:author"><span lang="" about="/sb/user/120" typeof="schema:Person" property="schema:name" datatype="">carriyo</span></span> <span property="schema:dateCreated" content="2023-06-27T10:46:11+00:00">Tue, 06/27/2023 - 10:46</span> <section aria-label="Comments"> <article data-comment-user-id="224" id="comment-9" class="js-comment"> <article typeof="schema:Person" about="/sb/user/224" aria-label="user-224"> <div class="field field--name-user-picture field--type-image field--label-hidden field--item"> <a href="/sb/user/224" hreflang="it"><img loading="lazy" src="https://developer-npe.yodel.co.uk/sb/sites/sb.developer-npe.yodel.co.uk/files/styles/thumbnail/public/avatar_kit/ak_letter/224.png?itok=kDgmqaFa" width="100" height="100" alt="Profile picture for user dhldeu6" typeof="foaf:Image" class="img-responsive" /> </a> </div> </article> <h3><mark class="hidden" data-comment-timestamp="1741775210"></mark><a href="/sb/comment/9#comment-9" class="permalink" rel="bookmark" hreflang="en">URL Open error</a></h3> <p class="submitted">Submitted by <span lang="" about="/sb/user/224" typeof="schema:Person" property="schema:name" datatype="">dhldeu6</span> on Wed, 03/12/2025 - 10:26</p> <div class="content"> <div class="field field--name-comment-body field--type-text-long field--label-hidden field--item"><p>We are trying to integrate with your Orders endpoint and we get the following error</p> <p>{</p> <p>"httpCode": "500",</p> <p>"httpMessage": "URL Open error",</p> <p>"moreInformation": "Could not connect to endpoint"</p> <p>}</p> <p>I include the CURL request below. Can you please help us resolve this issue? Many thanks.</p> <p>curl --location --request POST 'https://api-sb.yodel.co.uk/shipping/v1.0/orders' \<br /> --header 'Accept: application/json' \<br /> --header 'Content-Type: application/json' \<br /> --header 'X-IBM-Client-Id: 5f6f88905cc02b4deaed2f756e16bb3f' \<br /> --header 'Authorization: Bearer AAIgNWY2Zjg4OTA1Y2MwMmI0ZGVhZWQyZjc1NmUxNmJiM2aTQ_4mvG19uz_E3Bnb9ECY5uVw7Hq8G66PqPYSqLQyfBpOdg2Yf71Fp8JA-uecgncXNkUCUmSuExpnMnh98fzq58jX7JtsolI2A3KLZURDahJzQVlr_0IduJizAAuQvg1xUDOVIPlOejxMNsXNO1gTsPG69Hh2-fDIzRttCvOckg' \<br /> --data-raw '{<br />     "brand": "YODEL TEST",<br />     "clientAccount": 100001,<br />     "clientReference": "ABC1234567",<br />     "collectionPoint": 2,<br />     "contractNumber": 9876543,<br />     "customerReference": "ABC1234567",<br />     "labelFormat": "PDF",<br />     "numberOfParcels": 2,<br />     "service": "1CN",<br />     "shipmentDate": "2019-03-04",<br />     "to": {<br />         "address": {<br />             "addressLine1": "34 Oxford Road",<br />             "addressLine2": "Room 5",<br />             "countryCode": "GB",<br />             "county": "Lancashire",<br />             "departmentName": "Sales",<br />             "organisationName": "Yodel",<br />             "postcode": "M4 4AX",<br />             "town": "Liverpool"<br />         },<br />         "customerContactNumber": "0123456789",<br />         "customerEmail": "email@example.com",<br />         "customerName": "John Smith",<br />         "deliveryPreferences": "Leave by back door",<br />         "emailNotification": true,<br />         "phoneNotification": false,<br />         "storeCode": "W20T"<br />     }<br /> }'</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=9&amp;1=default&amp;2=en&amp;3=" token="vyc1qmhuDymXFj5qDjqj_ZYSn1Uhj93eGQ3_XlPo-tI"></drupal-render-placeholder> </div> </article> </section> Tue, 27 Jun 2023 10:46:11 +0000 carriyo 314 at https://developer-npe.yodel.co.uk/sb https://developer-npe.yodel.co.uk/sb/node/314#comments