/* * This code was auto generated by AfterShip SDK Generator. * Do not edit the class manually. */ /** * */ export interface DetectCourierRequest { /** * Tracking number of a shipment. */ tracking_number: string; /** * If not specified, Aftership will automatically detect the courier based on the tracking number format and your . Use array to input a list of couriers for auto detect. Cannot be used with slug_group at the same time. */ slug?: string[]; /** * The postal code of receiver's address. Required by some couriers. Refer to for more details */ destination_postal_code?: string; /** * Shipping date in `YYYYMMDD` format. Required by some couriers. Refer to for more details */ tracking_ship_date?: string; /** * Account number of the shipper for a specific courier. Required by some couriers. Refer to for more details */ tracking_account_number?: string; /** * Key of the shipment for a specific courier. Required by some couriers. Refer to for more details */ tracking_key?: string; /** * State of the destination shipping address of the shipment. Required by some couriers. */ destination_state?: string; /** * Slug group is a group of slugs which belong to same courier. For example, when you inpit "fedex-group" as slug_group, AfterShip will detect the tracking with "fedex-uk", "fedex-fims", and other slugs which belong to "fedex". It cannot be used with slug at the same time. ( */ slug_group?: string; /** * Enter . */ origin_country_region?: string; /** * Enter . */ destination_country_region?: string; }