feat(onpoint): update webhook payload
This commit is contained in:
parent
4f20218bcd
commit
8788f7e89b
|
@ -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 ...
|
||||||
|
|
Loading…
Reference in New Issue