> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.shopify.orders.UpdateFulfillmentTracking

- Component: `appmixer.shopify.orders.UpdateFulfillmentTracking`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.shopify 4.1.0](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.orders.UpdateFulfillmentTracking>

Replace the tracking information (tracking number, carrier, tracking URL) of a fulfillment. Needs the write_merchant_managed_fulfillment_orders access scope on the Shopify app.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Fulfillment ID (`fulfillmentId`) | text | The ID of the fulfillment (gid://shopify/Fulfillment/123 or 123), for example from Create Fulfillment or the fulfillments of Get Order. |
| Tracking Number (`trackingNumber`) | text | The tracking number of the shipment. |
| Carrier (`trackingCompany`) | text | The shipping carrier, for example `UPS`, `DHL Express` or `Other`. Shopify builds the tracking URL for carriers it knows. |
| Tracking URL (`trackingUrl`) | text | The URL of the tracking page. Needed for carriers Shopify does not know. |
| Notify Customer (`notifyCustomer`) | toggle | Send the customer the shipping confirmation (or shipping update) e-mail. |

## Output ports

### Port `out`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.shopify.orders.UpdateFulfillmentTracking",
  "description": "Replace the tracking information (tracking number, carrier, tracking URL) of a fulfillment. Needs the write_merchant_managed_fulfillment_orders access scope on the Shopify app.",
  "author": "Appmixer <info@appmixer.com>",
  "private": false,
  "auth": {
    "service": "appmixer:shopify",
    "scope": [
      "read_orders",
      "write_orders",
      "read_fulfillments"
    ]
  },
  "quota": {
    "manager": "appmixer:shopify",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "fulfillmentId": {
            "type": "string"
          },
          "trackingNumber": {
            "type": "string"
          },
          "trackingCompany": {
            "type": "string"
          },
          "trackingUrl": {
            "type": "string"
          },
          "notifyCustomer": {
            "type": "boolean"
          }
        },
        "required": [
          "fulfillmentId"
        ]
      },
      "inspector": {
        "inputs": {
          "fulfillmentId": {
            "type": "text",
            "label": "Fulfillment ID",
            "index": 1,
            "tooltip": "The ID of the fulfillment (gid://shopify/Fulfillment/123 or 123), for example from Create Fulfillment or the fulfillments of Get Order."
          },
          "trackingNumber": {
            "type": "text",
            "label": "Tracking Number",
            "index": 2,
            "tooltip": "The tracking number of the shipment."
          },
          "trackingCompany": {
            "type": "text",
            "label": "Carrier",
            "index": 3,
            "tooltip": "The shipping carrier, for example <code>UPS</code>, <code>DHL Express</code> or <code>Other</code>. Shopify builds the tracking URL for carriers it knows."
          },
          "trackingUrl": {
            "type": "text",
            "label": "Tracking URL",
            "index": 4,
            "tooltip": "The URL of the tracking page. Needed for carriers Shopify does not know."
          },
          "notifyCustomer": {
            "type": "toggle",
            "label": "Notify Customer",
            "index": 5,
            "defaultValue": false,
            "tooltip": "Send the customer the shipping confirmation (or shipping update) e-mail."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out"
    }
  ],
  "icon": "(data URI omitted)"
}
```
