View margins - Download margins

Downloads margins in csv format.

GET https://api.partnercenter.microsoft.com/v1/margins/download

Request Header

Name Required Type Description
MS-CorrelationId

string

A client specified unique identifier for the call, useful in logs and network traces for troubleshooting errors. The value should be reset for every call. All operations should include this header or ms-cv.

Responses

Name Type Description
200 OK

MarginSearchResponse

Success

Media Types: "application/json", "application/octet-stream"

401 Unauthorized

Unauthorized

Media Types: "application/json", "application/octet-stream"

403 Forbidden

Forbidden

Media Types: "application/json", "application/octet-stream"

Definitions

Name Description
Margin
MarginSearchResponse

Margin

Name Type Description
endDate

string

id

string

marginPercentage

number

productId

string

productTitle

string

productType

string

publisherName

string

skuId

string

skuTitle

string

startDate

string

status

string

statusDate

string

MarginSearchResponse

Name Type Description
Results

Margin[]

pageSize

integer

totalSize

integer