Update March 1, 2024 (#72)
Remove `accepted_from_customer_moment` from request and response in `/v3/returns/company/fbs`
This commit is contained in:
@@ -112,9 +112,6 @@ type GetFBSReturnsParams struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GetFBSReturnsFilter struct {
|
type GetFBSReturnsFilter struct {
|
||||||
// Time of receiving the return from the customer
|
|
||||||
AcceptedFromCustomerMoment GetFBSReturnsFilterTimeRange `json:"accepted_from_customer_moment"`
|
|
||||||
|
|
||||||
// Last day of free storage
|
// Last day of free storage
|
||||||
LastFreeWaitingDay GetFBSReturnsFilterTimeRange `json:"last_free_waiting_dat"`
|
LastFreeWaitingDay GetFBSReturnsFilterTimeRange `json:"last_free_waiting_dat"`
|
||||||
|
|
||||||
@@ -163,9 +160,6 @@ type GetFBSReturnsResponse struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GetFBSReturnResultReturn struct {
|
type GetFBSReturnResultReturn struct {
|
||||||
// Time of receiving the return from the customer
|
|
||||||
AcceptedFromCustomerMoment string `json:"accepted_from_customer_moment"`
|
|
||||||
|
|
||||||
// Bottom barcode on the product label
|
// Bottom barcode on the product label
|
||||||
ClearingId int64 `json:"clearing_id"`
|
ClearingId int64 `json:"clearing_id"`
|
||||||
|
|
||||||
|
|||||||
@@ -116,7 +116,6 @@ func TestGetFBSReturns(t *testing.T) {
|
|||||||
"last_id": 0,
|
"last_id": 0,
|
||||||
"returns": [
|
"returns": [
|
||||||
{
|
{
|
||||||
"accepted_from_customer_moment": "string",
|
|
||||||
"clearing_id": 23,
|
"clearing_id": 23,
|
||||||
"commission": 21,
|
"commission": 21,
|
||||||
"commission_percent": 0,
|
"commission_percent": 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user