feat(onpoint): update webhook payload

This commit is contained in:
Sinh 2024-04-09 12:08:19 +07:00
parent 4f20218bcd
commit 8788f7e89b
1 changed files with 4 additions and 7 deletions

View File

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