Downloadable links
List of links with associated samples
Path parameters
skustringRequiredExample:
(Required)
<string>Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
/V1/products/{sku}/downloadable-linksGET /V1/products/{sku}/downloadable-links HTTP/1.1
Host: {{baseurl}}
Accept: */*
[
{
"sort_order": "<integer>",
"is_shareable": "<integer>",
"price": "<number>",
"link_type": "<string>",
"sample_type": "<string>",
"id": "<integer>",
"title": "<string>",
"number_of_downloads": "<integer>",
"link_file": "<string>",
"link_file_content": {
"file_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"extension_attributes": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"link_url": "<string>",
"sample_file": "<string>",
"sample_file_content": {
"file_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"extension_attributes": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"sample_url": "<string>",
"extension_attributes": "<object>"
},
{
"sort_order": "<integer>",
"is_shareable": "<integer>",
"price": "<number>",
"link_type": "<string>",
"sample_type": "<string>",
"id": "<integer>",
"title": "<string>",
"number_of_downloads": "<integer>",
"link_file": "<string>",
"link_file_content": {
"file_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"extension_attributes": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"link_url": "<string>",
"sample_file": "<string>",
"sample_file_content": {
"file_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"extension_attributes": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"sample_url": "<string>",
"extension_attributes": "<object>"
}
]Update downloadable link of the given product (link type and its resources cannot be changed)
Path parameters
skustringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"link":{"sort_order":"<integer>","is_shareable":"<integer>","price":"<number>","link_type":"<string>","sample_type":"<string>","id":"<integer>","title":"<string>","number_of_downloads":"<integer>","link_file":"<string>","link_file_content":{"file_data":{"value":"<Error: Too many levels of nesting to fake this schema>"},"name":{"value":"<Error: Too many levels of nesting to fake this schema>"},"extension_attributes":{"value":"<Error: Too many levels of nesting to fake this schema>"}},"link_url":"<string>","sample_file":"<string>","sample_file_content":{"file_data":{"value":"<Error: Too many levels of nesting to fake this schema>"},"name":{"value":"<Error: Too many levels of nesting to fake this schema>"},"extension_attributes":{"value":"<Error: Too many levels of nesting to fake this schema>"}},"sample_url":"<string>","extension_attributes":"<object>"},"isGlobalScopeContent":"<boolean>"}Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
/V1/products/{sku}/downloadable-linksPOST /V1/products/{sku}/downloadable-links HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 900
{
"link": {
"sort_order": "<integer>",
"is_shareable": "<integer>",
"price": "<number>",
"link_type": "<string>",
"sample_type": "<string>",
"id": "<integer>",
"title": "<string>",
"number_of_downloads": "<integer>",
"link_file": "<string>",
"link_file_content": {
"file_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"extension_attributes": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"link_url": "<string>",
"sample_file": "<string>",
"sample_file_content": {
"file_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"extension_attributes": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"sample_url": "<string>",
"extension_attributes": "<object>"
},
"isGlobalScopeContent": "<boolean>"
}66689314Update downloadable link of the given product (link type and its resources cannot be changed)
Path parameters
skustringRequiredExample:
(Required)
<string>idstringRequiredExample:
(Required)
<string>Header parameters
Content-TypestringOptionalExample:
application/jsonBody
objectOptionalExample:
{"link":{"sort_order":"<integer>","is_shareable":"<integer>","price":"<number>","link_type":"<string>","sample_type":"<string>","id":"<integer>","title":"<string>","number_of_downloads":"<integer>","link_file":"<string>","link_file_content":{"file_data":{"value":"<Error: Too many levels of nesting to fake this schema>"},"name":{"value":"<Error: Too many levels of nesting to fake this schema>"},"extension_attributes":{"value":"<Error: Too many levels of nesting to fake this schema>"}},"link_url":"<string>","sample_file":"<string>","sample_file_content":{"file_data":{"value":"<Error: Too many levels of nesting to fake this schema>"},"name":{"value":"<Error: Too many levels of nesting to fake this schema>"},"extension_attributes":{"value":"<Error: Too many levels of nesting to fake this schema>"}},"sample_url":"<string>","extension_attributes":"<object>"},"isGlobalScopeContent":"<boolean>"}Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
/V1/products/{sku}/downloadable-links/{id}PUT /V1/products/{sku}/downloadable-links/{id} HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 900
{
"link": {
"sort_order": "<integer>",
"is_shareable": "<integer>",
"price": "<number>",
"link_type": "<string>",
"sample_type": "<string>",
"id": "<integer>",
"title": "<string>",
"number_of_downloads": "<integer>",
"link_file": "<string>",
"link_file_content": {
"file_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"extension_attributes": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"link_url": "<string>",
"sample_file": "<string>",
"sample_file_content": {
"file_data": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"name": {
"value": "<Error: Too many levels of nesting to fake this schema>"
},
"extension_attributes": {
"value": "<Error: Too many levels of nesting to fake this schema>"
}
},
"sample_url": "<string>",
"extension_attributes": "<object>"
},
"isGlobalScopeContent": "<boolean>"
}66689314Delete downloadable link
Path parameters
idstringRequiredExample:
(Required)
<integer>Responses
200
OK
application/json
Responseobject
401
Unauthorized
application/json
500
Internal Server Error
application/json
delete
/V1/products/downloadable-links/{id}DELETE /V1/products/downloadable-links/{id} HTTP/1.1
Host: {{baseurl}}
Accept: */*
true