Update November 8, 2023 (#48)
This commit is contained in:
@@ -196,16 +196,22 @@ func TestGetFBSShipmentsList(t *testing.T) {
|
||||
&GetFBSShipmentsListParams{
|
||||
Direction: "ASC",
|
||||
Filter: GetFBSShipmentsListFilter{
|
||||
Since: core.TimeFromString(t, "2006-01-02T15:04:05Z", "2021-11-01T00:00:00.000Z"),
|
||||
To: core.TimeFromString(t, "2006-01-02T15:04:05Z", "2021-12-01T23:59:59.000Z"),
|
||||
Status: "awaiting_packaging",
|
||||
Since: core.TimeFromString(t, "2006-01-02T15:04:05Z", "2021-11-01T00:00:00.000Z"),
|
||||
To: core.TimeFromString(t, "2006-01-02T15:04:05Z", "2021-12-01T23:59:59.000Z"),
|
||||
Status: "awaiting_packaging",
|
||||
WarehouseId: []int64{123},
|
||||
ProviderId: []int64{223},
|
||||
FBPFilter: FBPFilterAll,
|
||||
DeliveryMethodId: []int64{456},
|
||||
OrderId: 0,
|
||||
},
|
||||
Limit: 100,
|
||||
Limit: 0,
|
||||
Offset: 0,
|
||||
With: GetFBSShipmentsListWith{
|
||||
AnalyticsData: true,
|
||||
FinancialData: true,
|
||||
Translit: true,
|
||||
Barcodes: true,
|
||||
},
|
||||
},
|
||||
`{
|
||||
@@ -216,6 +222,7 @@ func TestGetFBSShipmentsList(t *testing.T) {
|
||||
"order_id": 680420041,
|
||||
"order_number": "05708065-0029",
|
||||
"status": "awaiting_deliver",
|
||||
"substatus": "posting_awaiting_passport_data",
|
||||
"delivery_method": {
|
||||
"id": 21321684811000,
|
||||
"name": "Ozon Логистика самостоятельно, Красногорск",
|
||||
|
||||
@@ -374,6 +374,8 @@ type ProductDetailStock struct {
|
||||
|
||||
type ProductDetailVisibilityDetails struct {
|
||||
// If the product is active, the value is true
|
||||
//
|
||||
// Deprecated: Use `visible` parameter of `ProductDetails`
|
||||
ActiveProduct bool `json:"active_product"`
|
||||
|
||||
// If the price is set, the value is true
|
||||
@@ -559,7 +561,7 @@ type UpdateQuantityStockProductsResultError struct {
|
||||
//
|
||||
// You can update the stock of one product in one warehouse only once in 2 minutes, otherwise there will be the TOO_MANY_REQUESTS error in the response.
|
||||
//
|
||||
// Availability can only be set after the product status has been changed to processed.
|
||||
// You can set the availability of an item only after the product status is changed to price_sent
|
||||
//
|
||||
// Bulky products stock can only be updated in the warehouses for bulky products.
|
||||
func (c Products) UpdateQuantityStockProducts(ctx context.Context, params *UpdateQuantityStockProductsParams) (*UpdateQuantityStockProductsResponse, error) {
|
||||
|
||||
Reference in New Issue
Block a user