dominicwatts/tracking

Submit shipment tracking information via controller and shell script

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 0

Type:magento2-module

1.0.1 2019-08-22 20:07 UTC

This package is auto-updated.

Last update: 2024-11-12 08:42:40 UTC


README

Submit shipment tracking information via controller and shell script using order increment ID

Install instructions

composer require dominicwatts/tracking

php bin/magento setup:upgrade

php bin/magento setup:di:compile

Usage instructions

Either add tracking to shipment on order via URL or console script

Url

/xigen_tracking/submit/index?oid=<ORDER_ID>&carrier=<CARRIER_CODE>&title=<CARRIER_TITLE>&number=<TRACKING_NUMBER_OR_URL>

/xigen_tracking/submit/index?oid=000000045&carrier=custom&title=Royal%20Mail&number=http://test.com/12345

Console script

xigen:tracking:addtracking [-o|--orderid ORDERID] [-c|--carrier [CARRIER]] [-t|--title [TITLE]] [-u|--number [NUMBER]]

php bin/magento xigen:tracking:addtracking -o 000000045 -c custom -t "Royal Mail" -u "http://test.com/12345"