downloadable Link Repository V1Save Put
PUT {{baseUrl}}/V1/products/:sku/downloadable-links/:id
Update downloadable link of the given product (link type and its resources cannot be changed)
Request Body
{"link"=>{"sort_order"=>"<integer>", "is_shareable"=>"<integer>", "price"=>"<number>", "link_type"=>"<string>", "sample_type"=>"<string>", "extension_attributes"=>"<object>", "id"=>"<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>", "number_of_downloads"=>"<integer>", "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>", "title"=>"<string>"}, "isGlobalScopeContent"=>"<boolean>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
""