More Shipstation integrations
This commit is contained in:
@@ -51,6 +51,20 @@ class Order(Base):
|
||||
# per business rule they never mix companies on one ticket.
|
||||
skus = Column(JSON, nullable=True)
|
||||
|
||||
# SKU + item name pairs, e.g. [{"sku": "OK704", "item_name": "Peripheral
|
||||
# - Webcam"}]. Kept separately from `skus` (which stays just the bare
|
||||
# codes, used for company resolution/search/display) because the
|
||||
# ShipStation CSV template needs SKU and Item Name as distinct columns.
|
||||
line_items = Column(JSON, nullable=True)
|
||||
|
||||
# Recipient info for shipping - name/phone/email/address/city/state/zip/npi.
|
||||
# Only needed for the emergency "Send to ShipStation" action; not shown
|
||||
# in the main table.
|
||||
shipping_info = Column(JSON, nullable=True)
|
||||
|
||||
# Display name of whoever created the JIRA ticket.
|
||||
creator = Column(String(200), nullable=True)
|
||||
|
||||
# Tracking numbers pulled from ShipStation and merged onto this
|
||||
# ticket - e.g. [{"number": "782758401696", "carrier": "ups",
|
||||
# "is_return": false}]. Populated by the "Pull Tracking Numbers"
|
||||
|
||||
Reference in New Issue
Block a user