The shipping update API allows an external system to update bindCommerce on order shipping.
The fields that can be transmitted are the following:

  • BindCommerce order id (eg "OrderID": "3470")
  • Courier: (eg "TrackingCarrier": "SanMarinoMail")
  • Shipment tracking code (eg "TrackingNumber": "00B2NMH8")
  • Shipping date and time (e.g. "ShippedTime": "2018: 01: 10 12:36:19")

Call and authentication

The call is made to the URL generated by bindCommerce for the specific connector (to be configured in advance through the bindCommerce interface).
Authentication occurs through tokens assigned for the API node. The parameter is passed into the request header.

Example PHP script to make the call

<?php

 

$curl = curl_init();

 

curl_setopt_array($curl, array(

  CURLOPT_URL => "https://HABCDE.bindcommerce.cloud/integrator-tool/logistic/request_logistic.php?connector=5258",

  CURLOPT_RETURNTRANSFER => true,

  CURLOPT_CUSTOMREQUEST => "POST",

  CURLOPT_POSTFIELDS => "[\r\n\t{\r\n  \r\n\t  \"OrderID\": 191252,\r\n\t  \"TrackingCarrier\": \"UPS\",\r\n\t  \"TrackingNumber\": \"1ZA103756899507566\",\r\n\t  \"ShippedTime\": \"2017:12:13 09:00:00\"\r\n\t},\r\n\t{\r\n\t  \r\n\t  \"OrderID\": 191252,\r\n\t  \"TransactionID\": \"ORDER2365\",\r\n\t  \"CarrierID\": 50,\r\n\t  \"TrackingCarrier\": \"UPS\",\r\n\t  \"TrackingNumber\": \"1ZA103756899507566\",\r\n\t  \"ShippedTime\": \"2017:12:13 09:00:00\"\r\n\t}\r\n]",

  CURLOPT_HTTPHEADER => array(

    "cache-control: no-cache",

    "content-type: application/json",

    "token: 84b670ea63539f5bc0572a260f1f4dfb"

  ),

));

 

$response = curl_exec($curl);

$err = curl_error($curl);

 

curl_close($curl);

File Json

[{"OrderID":"3470","TrackingCarrier":"SanMarinoMail","TrackingNumber":"00B2NMH8","ShippedTime":"2018:01:10 12:36:19"}]

app icons1

Last releases

  • bindCommerce 2.11.09 11/03/2024

    ManoMano Support for intraco_vat_number Import file updating Customer custom parameters possibility...

    Read More ...

  • bindCommerce 2.11.08 04/03/2024

    API import documents Partial tracking updated Amazon SP-API Partial update to allow subsequent...

    Read More ...

  • bindCommerce 2.11.07 13/02/2024

    Ecwid The barcode and title fields (father + options name) have been valorised in the variants...

    Read More ...

  • bindCommerce 2.11.06 29/01/2024

    API Export orders Customizing columns and attributes Import file Configuration for import into...

    Read More ...

  • bindCommerce 2.11.05 22/12/2023

    eBay K-Type notes publishing supported Shopify Added custom parameter order attributes WooCommerce...

    Read More ...

  • bindCommerce 2.11.04 11/12/2023

    Amazon SP API pending feed check disabled changed number of attempts from 3 to 5 added B2B...

    Read More ...

  • bindCommerce 2.11.03 22/11/2023

    Woocommerce Updated term_group attributes to also consider manually created attributes for...

    Read More ...

  • bindCommerce 2.11.02 21/11/2023

    Woocommerce General improvements

    Read More ...

  • bindCommerce 2.11.01 10/10/2023

    Prestashop Added borderline case management between versions that have different db fields Magento...

    Read More ...

  • bindCommerce 2.11 06/09/2023

    Release of Postalmarket marketplace integration Ecwid Added possibility to download custom...

    Read More ...

bindCommerce

bindCommerce s.r.l.

VAT Number IT07798861212 - SDI M5UXCR1
Registered in Napoli - REA: NA - 910618
Share capital € 20.000,00 fully paid
Tel: +39 011 089 122 0
E-mail: [email protected]

PON 2014>20 Riaccendiamo lo sviluppo