{
  "name": "UPS \u00b7 Gate 4b \u00b7 Create (international CA\u2192US, label + customs PDF)",
  "nodes": [
    {
      "parameters": {},
      "id": "trigger-create-intl",
      "name": "Execute Workflow",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "resource": "shipping",
        "operation": "create",
        "accountNumber": "0C395V",
        "service": "11",
        "shipperName": "Test Shipper",
        "shipperAddressLine1": "1 Yonge St",
        "shipperCity": "Toronto",
        "shipperStateProvinceCode": "ON",
        "shipperPostalCode": "M5E1E5",
        "shipperCountryCode": "CA",
        "shipperPhone": "4165551234",
        "shipToName": "US Consignee",
        "shipToAddressLine1": "350 5th Ave",
        "shipToCity": "New York",
        "shipToStateProvinceCode": "NY",
        "shipToPostalCode": "10118",
        "shipToCountryCode": "US",
        "shipToPhone": "2125551234",
        "weight": 2,
        "weightUnit": "KGS",
        "labelFormat": "GIF",
        "customs": {
          "reasonForExport": "SALE",
          "currency": "USD",
          "termsOfShipment": "DDU",
          "invoiceNumber": "INV-1001"
        },
        "soldToName": "US Consignee",
        "soldToAddressLine1": "350 5th Ave",
        "soldToCity": "New York",
        "soldToStateProvinceCode": "NY",
        "soldToPostalCode": "10118",
        "soldToCountryCode": "US",
        "commodities": {
          "line": [
            {
              "description": "Cotton T-shirts",
              "quantity": 3,
              "unitValue": 12,
              "unitOfMeasure": "EA",
              "commodityCode": "610910",
              "originCountry": "CA"
            }
          ]
        }
      },
      "id": "ups-create-intl",
      "name": "UPS Create",
      "type": "@nodrel-dev/n8n-nodes-ups.ups",
      "typeVersion": 1,
      "position": [
        240,
        0
      ],
      "credentials": {
        "upsOAuth2Api": {
          "name": "<your credential>"
        }
      }
    }
  ],
  "connections": {
    "Execute Workflow": {
      "main": [
        [
          {
            "node": "UPS Create",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "active": false
}