Update 28 July, 2023 (#31)
This commit is contained in:
@@ -505,3 +505,16 @@ const (
|
|||||||
// don't change anything. Default value
|
// don't change anything. Default value
|
||||||
PriceStrategyUnknown PriceStrategy = "UNKNOWN"
|
PriceStrategyUnknown PriceStrategy = "UNKNOWN"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
type FBPFilter string
|
||||||
|
|
||||||
|
const (
|
||||||
|
// all shipments matching other filters will be returned in the response
|
||||||
|
FBPFilterAll FBPFilter = "all"
|
||||||
|
|
||||||
|
// only FBP shipments will be returned
|
||||||
|
FBPFilterOnly FBPFilter = "only"
|
||||||
|
|
||||||
|
// all shipments except FBP will be returned
|
||||||
|
FBPFilterWithout FBPFilter = "without"
|
||||||
|
)
|
||||||
|
|||||||
14
ozon/fbs.go
14
ozon/fbs.go
@@ -52,6 +52,13 @@ type ListUnprocessedShipmentsFilter struct {
|
|||||||
// Delivery method identifier
|
// Delivery method identifier
|
||||||
DeliveryMethodId []int64 `json:"delivery_method_id"`
|
DeliveryMethodId []int64 `json:"delivery_method_id"`
|
||||||
|
|
||||||
|
// Filter for shipments delivered from partner warehouse (FBP). You can pass one of the following values:
|
||||||
|
//
|
||||||
|
// Default value is all.
|
||||||
|
//
|
||||||
|
// The FBP scheme is available only for sellers from China
|
||||||
|
FBPFilter FBPFilter `json:"fbpFilter"`
|
||||||
|
|
||||||
// Delivery service identifier
|
// Delivery service identifier
|
||||||
ProviderId []int64 `json:"provider_id"`
|
ProviderId []int64 `json:"provider_id"`
|
||||||
|
|
||||||
@@ -524,6 +531,13 @@ type GetFBSShipmentsListFilter struct {
|
|||||||
// Delivery method identifier
|
// Delivery method identifier
|
||||||
DeliveryMethodId []int64 `json:"delivery_method_id"`
|
DeliveryMethodId []int64 `json:"delivery_method_id"`
|
||||||
|
|
||||||
|
// Filter for shipments delivered from partner warehouse (FBP). You can pass one of the following values:
|
||||||
|
//
|
||||||
|
// Default value is all.
|
||||||
|
//
|
||||||
|
// The FBP scheme is available only for sellers from China
|
||||||
|
FBPFilter FBPFilter `json:"fbpFilter"`
|
||||||
|
|
||||||
// Order identifier
|
// Order identifier
|
||||||
OrderId int64 `json:"order_id"`
|
OrderId int64 `json:"order_id"`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user