Skip to content

How can I create a tracking on a fulfillment? #150

Open
@petervanackooij

Description

@petervanackooij

First of all: Very nice work guys! So far, your code works perfectly 👍

Now I want to create a tracking on an existing fulfillment and I can't figure out how to do that. I expect something like this, but that doesn't seem to work:

$sdk->Order->Fulfillment($fulfillmentId)->update_tracking([
    "notify_customer": true,
    "tracking_info": {
        "number": "1111",
        "url": "http://www.my-url.com",
        "company": "my-company"
    }
]);

The action in Shopify's documentation:
https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillment#update_tracking-2020-01

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions