Calling URL:  

https://adm.getbuybox.com/api/v1/spaces/{spaceId}/transactions?transaction={transactionId}&campaign={campaignId}&from={dateFrom}&to={dateTo}&page={page}&per-page={rowsPerPage}&api-token={ApiKey}


 where: 

  • {space-id}  - your page ID (to be downloaded from the publisher's panel
  • {campaign-id}  - partner program ID; you can specify 0 to download data for all programs 
  • {transactionId}  -  single transaction identifier 
  • {data-from}  - start date of the range you want to download data from (YYYY-MM-DD format)
  • {data-to}  - the end date of the range you want to download data from (YYYY-MM-DD format)
  • {api-key}  - authentication key generated in the publisher's panel  
  • {page} , {rowsPerPage}   - returned data are limited up to 50 position; using page  parameter you can download next pages andper-page parameter allows you to change a position number on the website.

Returned data (JSON):  

  • transId  - transaction identifier
  • amount  - value of the transaction
  • date  - transaction date
  • spaceId  - your page ID
  • campId  - shop identifier
  • status  - commission status (0 - new, 1 - accepted, 2 - rejected)
  • publisherCommissionAmount  - commission value
  • abpar1 , abpar2 , abpar3  - values of the abpar parameters
Czy udało Ci się znaleźć odpowiedź na swoje pytanie?