Update October 19, 2023 (#44)
This commit is contained in:
		@@ -540,3 +540,40 @@ const (
 | 
			
		||||
	// pound sterling
 | 
			
		||||
	InvoiceCurrencyGBP InvoiceCurrency = "GBP"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type ReportType string
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	// products report
 | 
			
		||||
	ReportTypeSellerProducts ReportType = "SELLER_PRODUCTS"
 | 
			
		||||
 | 
			
		||||
	// transactions report
 | 
			
		||||
	ReportTypeSellerTransactions ReportType = "SELLER_TRANSACTIONS"
 | 
			
		||||
 | 
			
		||||
	// product prices report
 | 
			
		||||
	ReportTypeSellerProductPrices ReportType = "SELLER_PRODUCT_PRICES"
 | 
			
		||||
 | 
			
		||||
	// stocks report
 | 
			
		||||
	ReportTypeSellerStock ReportType = "SELLER_STOCK"
 | 
			
		||||
 | 
			
		||||
	// products movement report
 | 
			
		||||
	ReportTypeSellerProductMovement ReportType = "SELLER_PRODUCT_MOVEMENT"
 | 
			
		||||
 | 
			
		||||
	// returns report
 | 
			
		||||
	ReportTypeSellerReturns ReportType = "SELLER_RETURNS"
 | 
			
		||||
 | 
			
		||||
	// shipments report
 | 
			
		||||
	ReportTypeSellerPostings ReportType = "SELLER_POSTINGS"
 | 
			
		||||
 | 
			
		||||
	// financial report
 | 
			
		||||
	ReportTypeSellerFinance ReportType = "SELLER_FINANCE"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type ReportInfoStatus string
 | 
			
		||||
 | 
			
		||||
const (
 | 
			
		||||
	ReportInfoWaiting    ReportInfoStatus = "waiting"
 | 
			
		||||
	ReportInfoProcessing ReportInfoStatus = "processing"
 | 
			
		||||
	ReportInfoSuccess    ReportInfoStatus = "success"
 | 
			
		||||
	ReportInfoFailed     ReportInfoStatus = "failed"
 | 
			
		||||
)
 | 
			
		||||
 
 | 
			
		||||
@@ -306,7 +306,7 @@ type FBSRequirements struct {
 | 
			
		||||
	//
 | 
			
		||||
	// To pack the shipment, pass the CCD number for all listed SKUs.
 | 
			
		||||
	// If you do not have a CCD number, pass the value `is_gtd_absent` = true
 | 
			
		||||
	// via the `/v3/posting/fbs/ship/package` or `/v3/posting/fbs/ship` method
 | 
			
		||||
	// via the `/v3/posting/fbs/ship/package`
 | 
			
		||||
	ProductsRequiringGTD []string `json:"products_requiring_gtd"`
 | 
			
		||||
 | 
			
		||||
	// Array of Ozon Product IDs (SKU) for which
 | 
			
		||||
 
 | 
			
		||||
@@ -126,21 +126,11 @@ type GetReportDetailResult struct {
 | 
			
		||||
	// Array with the filters specified when the seller created the report
 | 
			
		||||
	Params map[string]string `json:"params"`
 | 
			
		||||
 | 
			
		||||
	// Report type:
 | 
			
		||||
	//   - SELLER_PRODUCTS — products report,
 | 
			
		||||
	//   - SELLER_TRANSACTIONS — transactions report,
 | 
			
		||||
	//   - SELLER_PRODUCT_PRICES — product prices report,
 | 
			
		||||
	//   - SELLER_STOCK — stocks report,
 | 
			
		||||
	//   - SELLER_PRODUCT_MOVEMENT — products movement report,
 | 
			
		||||
	//   - SELLER_RETURNS — returns report,
 | 
			
		||||
	//   - SELLER_POSTINGS — shipments report,
 | 
			
		||||
	//   - SELLER_FINANCE — financial report
 | 
			
		||||
	ReportType string `json:"report_type"`
 | 
			
		||||
	// Report type
 | 
			
		||||
	ReportType ReportType `json:"report_type"`
 | 
			
		||||
 | 
			
		||||
	// Report generation status:
 | 
			
		||||
	//   - success
 | 
			
		||||
	//   - failed
 | 
			
		||||
	Status string `json:"status"`
 | 
			
		||||
	// Report generation status
 | 
			
		||||
	Status ReportInfoStatus `json:"status"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Returns information about a created report by its identifier
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user