• Resolved t4k4

    (@t4k4)


    Hi there,

    This plugin used to be compatible with the WooCommerce Shipment Tracking API with custom tracking link (without provider name): https://woocommerce.com/document/shipment-tracking/#section-9

    However, since the v3.4, adding tracking with a custom link and no provider via the WooCommerce Shipment Tracking API is returning an error.
    Is it possible to make it compatible again?

    Here’s an example API call

    curl -X POST https://example.com/wp-json/wc-shipment-tracking/v3/orders/645/shipment-trackings \
        -u consumer_key:consumer_secret \
        -H "Content-Type: application/json" \
        -d '{
      "custom_tracking_provider": "Custom",
      "custom_tracking_link": "https://example.com?q=%1$s",
      "tracking_number": "12345678"
    }'
Viewing 1 replies (of 1 total)
  • Plugin Author Zorem

    (@zorem)

    Hi @t4k4,

    We just released the latest version of the plugin and removed the validation for the ‘tracking_provider’ field so now you can use this “custom_tracking_provider” field.
    Please update with the latest version of the plugin and check.

    Thanks

Viewing 1 replies (of 1 total)

The topic ‘WooCommerce Shipment Tracking API conflict since v3.4’ is closed to new replies.