Update Vendor report schemas
This commit is contained in:
parent
62ecbcfe7c
commit
eb3b6d3fc6
|
@ -9,6 +9,7 @@
|
||||||
"reportOptions": {
|
"reportOptions": {
|
||||||
"sellingProgram": "RETAIL"
|
"sellingProgram": "RETAIL"
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": "2021-06-20",
|
||||||
"marketplaceIds": [
|
"marketplaceIds": [
|
||||||
"ATVPDKIKX0DER"
|
"ATVPDKIKX0DER"
|
||||||
]
|
]
|
||||||
|
@ -268,13 +269,14 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"reportSpecification": {
|
"reportSpecification": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Report input summary which includes the marketplace and selling program.",
|
"description": "The report input summary which includes the marketplace, selling program, and last updated date.",
|
||||||
"examples": [
|
"examples": [
|
||||||
{
|
{
|
||||||
"reportType": "GET_VENDOR_FORECASTING_REPORT",
|
"reportType": "GET_VENDOR_FORECASTING_REPORT",
|
||||||
"reportOptions": {
|
"reportOptions": {
|
||||||
"sellingProgram": "RETAIL"
|
"sellingProgram": "RETAIL"
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": "2021-06-20",
|
||||||
"marketplaceIds": [
|
"marketplaceIds": [
|
||||||
"ATVPDKIKX0DER"
|
"ATVPDKIKX0DER"
|
||||||
]
|
]
|
||||||
|
@ -283,6 +285,7 @@
|
||||||
"required": [
|
"required": [
|
||||||
"reportType",
|
"reportType",
|
||||||
"reportOptions",
|
"reportOptions",
|
||||||
|
"lastUpdatedDate",
|
||||||
"marketplaceIds"
|
"marketplaceIds"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -315,6 +318,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date",
|
||||||
|
"description": "The date when the report was last updated. Follows the <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> Date format of YYYY-MM-DD.",
|
||||||
|
"examples": [
|
||||||
|
"2021-06-20"
|
||||||
|
]
|
||||||
|
},
|
||||||
"marketplaceIds": {
|
"marketplaceIds": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "This parameter must match the marketplaceId of the selling partner account. Each selling partner account belongs to only one marketplaceId.",
|
"description": "This parameter must match the marketplaceId of the selling partner account. Each selling partner account belongs to only one marketplaceId.",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"$schema": "http://json-schema.org/draft-07/schema",
|
"$schema": "http://json-schema.org/draft-07/schema",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "This report shares inventory data of a vendor's items both at an aggregated level (across the vendor's entire catalog of items) and at a per-ASIN level. Data is available at different date range aggregation levels: WEEK, MONTH, QUARTER, YEAR. Requests can span multiple date range periods. For example, if the customer specified reportPeriod=WEEK and a dataStartTime and dataEndTime that are 3 weeks apart, the report would contain data for each of those 3 contiguous weeks.",
|
"description": "This report shares inventory data of a vendor's items both at an aggregated level (across the vendor's entire catalog of items) and at a per-ASIN level. Data is available at different date range aggregation levels: DAY, WEEK, MONTH, QUARTER, YEAR. Requests can span multiple date range periods. For example, if the customer specified reportPeriod=WEEK and a dataStartTime and dataEndTime that are 3 weeks apart, the report would contain data for each of those 3 contiguous weeks.",
|
||||||
"examples": [
|
"examples": [
|
||||||
{
|
{
|
||||||
"reportSpecification": {
|
"reportSpecification": {
|
||||||
|
@ -11,6 +11,7 @@
|
||||||
"sellingProgram": "RETAIL",
|
"sellingProgram": "RETAIL",
|
||||||
"distributorView": "MANUFACTURING"
|
"distributorView": "MANUFACTURING"
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": "2021-06-20",
|
||||||
"dataStartTime": "2021-06-06",
|
"dataStartTime": "2021-06-06",
|
||||||
"dataEndTime": "2021-06-19",
|
"dataEndTime": "2021-06-19",
|
||||||
"marketplaceIds": [
|
"marketplaceIds": [
|
||||||
|
@ -257,7 +258,7 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"reportSpecification": {
|
"reportSpecification": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Report summary including a reporting date range, distributor view, and selling program in the input.",
|
"description": "The report summary including a reporting date range, distributor view, selling program, and last updated date in the input.",
|
||||||
"examples": [
|
"examples": [
|
||||||
{
|
{
|
||||||
"reportType": "GET_VENDOR_INVENTORY_REPORT",
|
"reportType": "GET_VENDOR_INVENTORY_REPORT",
|
||||||
|
@ -266,6 +267,7 @@
|
||||||
"reportPeriod": "WEEK",
|
"reportPeriod": "WEEK",
|
||||||
"sellingProgram": "RETAIL"
|
"sellingProgram": "RETAIL"
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": "2021-06-20",
|
||||||
"dataStartTime": "2021-06-06",
|
"dataStartTime": "2021-06-06",
|
||||||
"dataEndTime": "2021-06-19",
|
"dataEndTime": "2021-06-19",
|
||||||
"marketplaceIds": [
|
"marketplaceIds": [
|
||||||
|
@ -276,6 +278,7 @@
|
||||||
"required": [
|
"required": [
|
||||||
"reportType",
|
"reportType",
|
||||||
"reportOptions",
|
"reportOptions",
|
||||||
|
"lastUpdatedDate",
|
||||||
"dataStartTime",
|
"dataStartTime",
|
||||||
"dataEndTime",
|
"dataEndTime",
|
||||||
"marketplaceIds"
|
"marketplaceIds"
|
||||||
|
@ -314,8 +317,9 @@
|
||||||
},
|
},
|
||||||
"reportPeriod": {
|
"reportPeriod": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Determines what granularity of data is expected in the report. Valid values are: WEEK, MONTH, QUARTER, YEAR.",
|
"description": "Determines what granularity of data is expected in the report. Valid values are: DAY, WEEK, MONTH, QUARTER, YEAR.",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
"DAY",
|
||||||
"WEEK",
|
"WEEK",
|
||||||
"MONTH",
|
"MONTH",
|
||||||
"QUARTER",
|
"QUARTER",
|
||||||
|
@ -332,6 +336,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date",
|
||||||
|
"description": "The date when the report was last updated. Follows the <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> Date format of YYYY-MM-DD.",
|
||||||
|
"examples": [
|
||||||
|
"2021-06-20"
|
||||||
|
]
|
||||||
|
},
|
||||||
"dataStartTime": {
|
"dataStartTime": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "date",
|
"format": "date",
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
"reportOptions": {
|
"reportOptions": {
|
||||||
"reportPeriod": "WEEK"
|
"reportPeriod": "WEEK"
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": "2021-06-20",
|
||||||
"dataStartTime": "2021-06-06",
|
"dataStartTime": "2021-06-06",
|
||||||
"dataEndTime": "2021-06-19",
|
"dataEndTime": "2021-06-19",
|
||||||
"marketplaceIds": [
|
"marketplaceIds": [
|
||||||
|
@ -63,13 +64,14 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"reportSpecification": {
|
"reportSpecification": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Summarizes the original report request.",
|
"description": "The report summary including the specified reporting date range and the last updated date in the input.",
|
||||||
"examples": [
|
"examples": [
|
||||||
{
|
{
|
||||||
"reportType": "GET_VENDOR_NET_PURE_PRODUCT_MARGIN_REPORT",
|
"reportType": "GET_VENDOR_NET_PURE_PRODUCT_MARGIN_REPORT",
|
||||||
"reportOptions": {
|
"reportOptions": {
|
||||||
"reportPeriod": "WEEK"
|
"reportPeriod": "WEEK"
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": "2021-06-20",
|
||||||
"dataStartTime": "2021-06-06",
|
"dataStartTime": "2021-06-06",
|
||||||
"dataEndTime": "2021-06-19",
|
"dataEndTime": "2021-06-19",
|
||||||
"marketplaceIds": [
|
"marketplaceIds": [
|
||||||
|
@ -80,6 +82,7 @@
|
||||||
"required": [
|
"required": [
|
||||||
"reportType",
|
"reportType",
|
||||||
"reportOptions",
|
"reportOptions",
|
||||||
|
"lastUpdatedDate",
|
||||||
"dataStartTime",
|
"dataStartTime",
|
||||||
"dataEndTime",
|
"dataEndTime",
|
||||||
"marketplaceIds"
|
"marketplaceIds"
|
||||||
|
@ -112,6 +115,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date",
|
||||||
|
"description": "The date when the report was last updated. Follows the <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> Date format of YYYY-MM-DD.",
|
||||||
|
"examples": [
|
||||||
|
"2021-06-20"
|
||||||
|
]
|
||||||
|
},
|
||||||
"dataStartTime": {
|
"dataStartTime": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "date",
|
"format": "date",
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
"reportPeriod": "WEEK",
|
"reportPeriod": "WEEK",
|
||||||
"sellingProgram": "RETAIL"
|
"sellingProgram": "RETAIL"
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": "2021-06-20",
|
||||||
"dataStartTime": "2021-06-06",
|
"dataStartTime": "2021-06-06",
|
||||||
"dataEndTime": "2021-06-19",
|
"dataEndTime": "2021-06-19",
|
||||||
"marketplaceIds": [
|
"marketplaceIds": [
|
||||||
|
@ -148,6 +149,7 @@
|
||||||
"reportPeriod": "WEEK",
|
"reportPeriod": "WEEK",
|
||||||
"sellingProgram": "FRESH"
|
"sellingProgram": "FRESH"
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": "2021-06-20",
|
||||||
"dataStartTime": "2021-06-06",
|
"dataStartTime": "2021-06-06",
|
||||||
"dataEndTime": "2021-06-19",
|
"dataEndTime": "2021-06-19",
|
||||||
"marketplaceIds": [
|
"marketplaceIds": [
|
||||||
|
@ -204,6 +206,7 @@
|
||||||
"reportPeriod": "WEEK",
|
"reportPeriod": "WEEK",
|
||||||
"sellingProgram": "RETAIL"
|
"sellingProgram": "RETAIL"
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": "2021-06-20",
|
||||||
"dataStartTime": "2021-06-06",
|
"dataStartTime": "2021-06-06",
|
||||||
"dataEndTime": "2021-06-12",
|
"dataEndTime": "2021-06-12",
|
||||||
"marketplaceIds": [
|
"marketplaceIds": [
|
||||||
|
@ -268,7 +271,7 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"reportSpecification": {
|
"reportSpecification": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Report summary including reporting date range, distributor view, and selling program in the input.",
|
"description": "The report summary including reporting date range, distributor view, selling program, and last updated date in the input.",
|
||||||
"examples": [
|
"examples": [
|
||||||
{
|
{
|
||||||
"reportType": "GET_VENDOR_SALES_REPORT",
|
"reportType": "GET_VENDOR_SALES_REPORT",
|
||||||
|
@ -277,6 +280,7 @@
|
||||||
"reportPeriod": "WEEK",
|
"reportPeriod": "WEEK",
|
||||||
"sellingProgram": "RETAIL"
|
"sellingProgram": "RETAIL"
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": "2021-06-20",
|
||||||
"dataStartTime": "2021-06-06",
|
"dataStartTime": "2021-06-06",
|
||||||
"dataEndTime": "2021-06-19",
|
"dataEndTime": "2021-06-19",
|
||||||
"marketplaceIds": [
|
"marketplaceIds": [
|
||||||
|
@ -287,6 +291,7 @@
|
||||||
"required": [
|
"required": [
|
||||||
"reportType",
|
"reportType",
|
||||||
"reportOptions",
|
"reportOptions",
|
||||||
|
"lastUpdatedDate",
|
||||||
"dataStartTime",
|
"dataStartTime",
|
||||||
"dataEndTime",
|
"dataEndTime",
|
||||||
"marketplaceIds"
|
"marketplaceIds"
|
||||||
|
@ -345,6 +350,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date",
|
||||||
|
"description": "The date when the report was last updated. Follows the <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> Date format of YYYY-MM-DD.",
|
||||||
|
"examples": [
|
||||||
|
"2021-06-20"
|
||||||
|
]
|
||||||
|
},
|
||||||
"dataStartTime": {
|
"dataStartTime": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "date",
|
"format": "date",
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
"reportOptions": {
|
"reportOptions": {
|
||||||
"reportPeriod": "WEEK"
|
"reportPeriod": "WEEK"
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": "2021-06-20",
|
||||||
"dataStartTime": "2021-06-06",
|
"dataStartTime": "2021-06-06",
|
||||||
"dataEndTime": "2021-06-19",
|
"dataEndTime": "2021-06-19",
|
||||||
"marketplaceIds": [
|
"marketplaceIds": [
|
||||||
|
@ -51,13 +52,14 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"reportSpecification": {
|
"reportSpecification": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Report summary including the specified reporting date range in the input.",
|
"description": "The report summary including the specified reporting date range and the last updated date in the input.",
|
||||||
"examples": [
|
"examples": [
|
||||||
{
|
{
|
||||||
"reportType": "GET_VENDOR_TRAFFIC_REPORT",
|
"reportType": "GET_VENDOR_TRAFFIC_REPORT",
|
||||||
"reportOptions": {
|
"reportOptions": {
|
||||||
"reportPeriod": "WEEK"
|
"reportPeriod": "WEEK"
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": "2021-06-20",
|
||||||
"dataStartTime": "2021-06-06",
|
"dataStartTime": "2021-06-06",
|
||||||
"dataEndTime": "2021-06-19",
|
"dataEndTime": "2021-06-19",
|
||||||
"marketplaceIds": [
|
"marketplaceIds": [
|
||||||
|
@ -68,6 +70,7 @@
|
||||||
"required": [
|
"required": [
|
||||||
"reportType",
|
"reportType",
|
||||||
"reportOptions",
|
"reportOptions",
|
||||||
|
"lastUpdatedDate",
|
||||||
"dataStartTime",
|
"dataStartTime",
|
||||||
"dataEndTime",
|
"dataEndTime",
|
||||||
"marketplaceIds"
|
"marketplaceIds"
|
||||||
|
@ -105,6 +108,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"lastUpdatedDate": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "date",
|
||||||
|
"description": "The date when the report was last updated. Follows the <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> date format of YYYY-MM-DD.",
|
||||||
|
"examples": [
|
||||||
|
"2021-06-20"
|
||||||
|
]
|
||||||
|
},
|
||||||
"dataStartTime": {
|
"dataStartTime": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "date",
|
"format": "date",
|
||||||
|
|
Loading…
Reference in New Issue