Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Zorem

    (@zorem)

    Hi @t4k4,
    Can you please share the API call that you do for adding tracking with a custom link so I can check it on the latest version?
    Thanks

    Thread Starter t4k4

    (@t4k4)

    Sure, here’s how it looks like:

    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"
    }'
    Thread Starter t4k4

    (@t4k4)

    Hi there,

    I see that the thread was marked as resolved (maybe by mistake).
    Did you release a fix for this?
    I don’t see anything about it in the changelog.

    Plugin Author Zorem

    (@zorem)

    Hi @t4k4,
    We released the latest version of the plugin and added compatibility with “custom_tracking_link”. Please update with the latest version and check it.
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Custom link compatibility via REST API’ is closed to new replies.