add method for getting shipment data by barcode for fbs

This commit is contained in:
diPhantxm
2023-03-18 16:20:51 +03:00
parent 159e1501df
commit 0fe3d86c48
6 changed files with 218 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ type GetReportsListParams struct {
// - SELLER_RETURNS — returns report,
// - SELLER_POSTINGS — shipments report,
// - SELLER_FINANCE — financial report
ReportType string `json:"report_type"`
ReportType string `json:"report_type" default:"ALL"`
}
type GetReportsListResponse struct {
@@ -408,7 +408,7 @@ type GetShipmentReportParams struct {
// Response language:
// - RU — Russian
// - EN — English
Language string `json:"language"`
Language string `json:"language" default:"DEFAULT"`
}
type GetShipmentReportFilter struct {