add get available promotions method

This commit is contained in:
diPhantxm
2023-03-14 23:38:14 +03:00
parent 8c9fdac81c
commit a082200b4f
4 changed files with 138 additions and 2 deletions

View File

@@ -174,7 +174,7 @@ func (c Client) GetSellerRatingInfoForPeriod(params *GetSellerRatingInfoForPerio
resp := &GetSellerRatingInfoPeriodResponse{}
response, err := c.client.Request(http.MethodPost, url, nil, resp)
response, err := c.client.Request(http.MethodPost, url, params, resp)
if err != nil {
return nil, err
}