Update 28 July, 2023 (#31)

This commit is contained in:
Kirill
2023-07-31 00:20:07 +03:00
committed by GitHub
parent 651c39595f
commit 588f4748a9
2 changed files with 27 additions and 0 deletions

View File

@@ -505,3 +505,16 @@ const (
// don't change anything. Default value
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"
)

View File

@@ -52,6 +52,13 @@ type ListUnprocessedShipmentsFilter struct {
// Delivery method identifier
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
ProviderId []int64 `json:"provider_id"`
@@ -524,6 +531,13 @@ type GetFBSShipmentsListFilter struct {
// Delivery method identifier
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
OrderId int64 `json:"order_id"`