Compare commits

...

2 Commits

Author SHA1 Message Date
Sinh 7c308c725c Merge branch 'onpoint-stock-update' into develop 2024-04-09 13:38:11 +07:00
Sinh 8788f7e89b feat(onpoint): update webhook payload 2024-04-09 12:08:19 +07:00
1 changed files with 4 additions and 7 deletions

View File

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