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"
- Changing 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: |
|
Changing the number of codes generated by Digiseller
URL and request format | https://api.digiseller.com/api/product/content/add/code/{product_id}/{count}?token={token} | ||||||||||||||||||||||||
Method: | GET | ||||||||||||||||||||||||
Request headers: |
|
||||||||||||||||||||||||
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: |
|