@stylusapparel/shipstation-api-node
Version:
Unofficial Shipstation API Wrapper for Node.js
31 lines (29 loc) • 1 kB
JavaScript
;
module.exports.__defaults = Object.freeze({
PAGINATION_MAX_LIMIT: 50,
API_URL: "https://ssapi.shipstation.com",
});
module.exports.__orders = Object.freeze({
CREATE_ORDERS: "/orders/createorders",
CREATE_ORDER: "/orders/createorder",
GET_UPDATE_DELETE_ORDER: "/orders",
CREATE_ORDER_LABEL: "/orders/createlabelfororder",
MARK_SHIPPED: "/orders/markasshipped",
HOLD_ORDER: "/orders/holduntil",
});
module.exports.__shipments = Object.freeze({
CREATE_LABEL: "/shipments/createlabel",
GET_RATES: "/shipments/getrates",
GET_SHIPMENTS: "/shipments",
VOID_LABEL: "/shipments/voidlabel",
});
module.exports.__carriers = Object.freeze({
GET_CARRIERS: "/carriers",
GET_CARRIER: "/carriers/getcarrier",
GET_PACKAGES: "/carriers/listpackages",
GET_SERVICES: "/carriers/listservices",
});
module.exports.__warehouse = Object.freeze({
CREATE_WAREHOUSE: "/warehouses/createwarehouse",
GET_UPDATE_DELETE_WAREHOUSE: "/warehouses",
});