API
Adding items content
- Back to the table of contents
- The method of adding content of type "File"
- The method of adding content of type "File" from ZIP archive (max 200 files)
- The method of adding content of type "Text" and "Url"
- Getting the number of codes generated by Digiseller
- Change the number of codes generated by Digiseller
- The method of updating content of type "File"
- The method of updating content of type "Text" and "Url"
- The method of deleting content of type "text", "url" or "file"
- The method for completely deleting content of type "text", "url" or "file"
- The method of creating or updating content of type "form"
The method of adding content of type "File"
| URL and request format | https://api.digiseller.com/api/product/content/add/file/{product_id}?token={token} | |||||||||||||||||||||||||||
| Method: | POST | |||||||||||||||||||||||||||
| Request headers: |
|
|||||||||||||||||||||||||||
| Request parameters: |
|
|||||||||||||||||||||||||||
| XML response format: JSON response format: |
xml
json
|
|||||||||||||||||||||||||||
| Response parameters: |
|
The method of adding content of type "File" from ZIP archive (max 200 files)
Files in the ZIP-archive should not be in internal folders. Such files will be ignored
| URL and request format | https://api.digiseller.com/api/product/content/add/files/{product_id}/{count?}?token={token} | |||||||||||||||||||||||||||
| Method: | POST | |||||||||||||||||||||||||||
| Request headers: | ||||||||||||||||||||||||||||
| Request parameters: |
|
|||||||||||||||||||||||||||
| XML response format: JSON response format: |
xml
json
|
|||||||||||||||||||||||||||
| Response parameters: |
|
The method of adding content of type "Text" and "Url"
| URL and request format | https://api.digiseller.com/api/product/content/add/text?token={token} | |||||||||||||||||||||||||||
| Method: | POST | |||||||||||||||||||||||||||
| Request headers: |
| |||||||||||||||||||||||||||
| XML request format JSON request format |
xml
json
|
|||||||||||||||||||||||||||
| Request parameters: |
|
|||||||||||||||||||||||||||
| XML response format: JSON response format: |
xml
json
|
|||||||||||||||||||||||||||
| Response parameters: |
|
Getting the number of codes generated by Digiseller
| URL and request format | https://api.digiseller.com/api/product/content/code/count?product_id={product_id}&variant_id={variant_id}&token={token} | ||||||||||||||||||||||||
| Method: | GET | ||||||||||||||||||||||||
| Request headers: | xml json Accept: text/xml - Response format Accept: application/json - Response format | ||||||||||||||||||||||||
| Request parameters: |
|
||||||||||||||||||||||||
| XML response format: JSON response format: |
|
||||||||||||||||||||||||
| Response parameters: |
|
Change the number of codes generated by Digiseller
| URL and request format | https://api.digiseller.com/api/product/content/code/count?product_id={product_id}&variant_id={variant_id}&token={token} | ||||||||||||||||||||||||
| Method: | PUT | ||||||||||||||||||||||||
| Request headers: |
xml
json
Content-Type: text/xml - Request format Accept: text/xml - Response format Content-Type: application/json - Request format Accept: application/json - Response format |
||||||||||||||||||||||||
| XML request format JSON request format |
|
||||||||||||||||||||||||
| Request parameters: |
|
||||||||||||||||||||||||
| XML response format: JSON response format: |
xml
json
|
||||||||||||||||||||||||
| Response parameters: |
|
The method of updating content of type "File"
| URL and request format | https://api.digiseller.com/api/product/content/update/file/v2?contentid={content_id}&updateold={update_old}&token={token} | ||||||||||||||||||||||||||||||
| Method: | POST | ||||||||||||||||||||||||||||||
| Request headers: |
|
||||||||||||||||||||||||||||||
| Request parameters: |
|
||||||||||||||||||||||||||||||
| XML response format: JSON response format: |
xml
json
|
||||||||||||||||||||||||||||||
| Response parameters: |
|
The method of updating content of type "Text" and "Url"
| URL and request format | https://api.digiseller.com/api/product/content/update/text?token={token} | ||||||||||||||||||||||||||||||
| Method: | POST | ||||||||||||||||||||||||||||||
| Request headers: |
|
||||||||||||||||||||||||||||||
| XML request format JSON request format |
xml
json
|
||||||||||||||||||||||||||||||
| Request parameters: |
|
||||||||||||||||||||||||||||||
| XML response format: JSON response format: |
xml
json
|
||||||||||||||||||||||||||||||
| Response parameters: |
|
The method of deleting content of type "text", "url" or "file"
| URL and request format | https://api.digiseller.com/api/product/content/delete?contentid={content_id}&productid={product_id}&token={token} | ||||||||||||
| Method: | GET | ||||||||||||
| Request headers: |
|
||||||||||||
| Request parameters: |
|
||||||||||||
| Response format: | Status code: 200 (No Content) |
The method for completely deleting content of type "text", "url" or "file"
| URL and request format | https://api.digiseller.com/api/product/content/delete/all?productid={product_id}&token={token} | ||||||||||||||||||||||||
| Method: | GET | ||||||||||||||||||||||||
| Request headers: |
|
||||||||||||||||||||||||
| Request parameters: |
|
||||||||||||||||||||||||
| XML response format: JSON response format: |
xml
json
|
||||||||||||||||||||||||
| Response parameters: |
|
The method of creating or updating content of type "form"
| URL and request format | https://api.digiseller.com/api/product/content/update/form?token={token} | ||||||||||||||||||||||||||||||
| Method: | POST | ||||||||||||||||||||||||||||||
| Request headers: |
|
||||||||||||||||||||||||||||||
| XML request format JSON request format |
xml
json
|
||||||||||||||||||||||||||||||
| Request parameters: |
|
||||||||||||||||||||||||||||||
| XML response format: JSON response format: |
xml
json
|
||||||||||||||||||||||||||||||
| Response parameters: |
|
РУС
ENG