Get the shipping status and shipping label
import { mkt } from './config' const pdfLink = await mkt.ship({ orderId: '<ORDER_ID>', mailingAddress: { name: "John Doe", phone: "+12024564545", // US or Canada phone number street1: "123 Main St", city: "Anytown", state: "CA", country: "USA", zip: "12345" }, email: "[email protected]", weight: 10, // OZ size: "small-flat" })
import { mkt } from './config' await mkt.addTrackingCode({ orderId: '<ORDER_ID>' trackingCode: '<TRACKING_CODE>' courier: 'USPS' })