feat(onpoint): get inventories #17

Merged
sinhluu merged 8 commits from onpoint-stock-update into master 2024-05-08 07:26:17 +00:00
1 changed files with 4 additions and 7 deletions
Showing only changes of commit 8788f7e89b - Show all commits

View File

@ -64,13 +64,10 @@ type ListInventoriesReq struct {
// WebhookDataUpdateInventory ... // WebhookDataUpdateInventory ...
type WebhookDataUpdateInventory struct { type WebhookDataUpdateInventory struct {
Sku string `json:"sku"` Sku string `json:"sku"`
PartnerSku string `json:"partner_sku"` AvailableQuantity int `json:"available_quantity"`
WarehouseCode string `json:"warehouse_code"` PickupLocationCode string `json:"pickup_location_code"`
AvailableQuantity int `json:"available_quantity"` UpdatedAt time.Time `json:"updated_at"`
CommittedQuantity int `json:"committed_quantity"`
TotalQuantity int `json:"total_quantity"`
UpdatedAt string `json:"updated_at"`
} }
// WebhookDataUpdateOrderStatus ... // WebhookDataUpdateOrderStatus ...