Downloadable links

get

List of links with associated samples

Path parameters
skustringRequired

(Required)

Example: <string>
Responses
200

OK

application/json
Responseobject
get
/V1/products/{sku}/downloadable-links
GET /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>"
  }
]

downloadable Link Repository V1Save Post

post

Update downloadable link of the given product (link type and its resources cannot be changed)

Path parameters
skustringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
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
post
/V1/products/{sku}/downloadable-links
POST /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>"
}
66689314
put

Update downloadable link of the given product (link type and its resources cannot be changed)

Path parameters
skustringRequired

(Required)

Example: <string>
idstringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
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
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>"
}
66689314
delete

Delete downloadable link

Path parameters
idstringRequired

(Required)

Example: <integer>
Responses
200

OK

application/json
Responseobject
delete
/V1/products/downloadable-links/{id}
DELETE /V1/products/downloadable-links/{id} HTTP/1.1
Host: {{baseurl}}
Accept: */*
true