Samples

get

List of samples for downloadable product

Path parameters
skustringRequired

(Required)

Example: <string>
Responses
200

OK

application/json
Responseobject
get
/V1/products/{sku}/downloadable-links/samples

downloadable Sample Repository V1Save Post

post

Update downloadable sample of the given product

Path parameters
skustringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"sample":{"title":"<string>","sort_order":"<integer>","sample_type":"<string>","id":"<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>","extension_attributes":"<object>"},"isGlobalScopeContent":"<boolean>"}
Responses
200

OK

application/json
Responseobject
post
/V1/products/{sku}/downloadable-links/samples
put

Update downloadable sample of the given product

Path parameters
skustringRequired

(Required)

Example: <string>
idstringRequired

(Required)

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
objectOptionalExample: {"sample":{"title":"<string>","sort_order":"<integer>","sample_type":"<string>","id":"<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>","extension_attributes":"<object>"},"isGlobalScopeContent":"<boolean>"}
Responses
200

OK

application/json
Responseobject
put
/V1/products/{sku}/downloadable-links/samples/{id}
delete

Delete downloadable sample

Path parameters
idstringRequired

(Required)

Example: <integer>
Responses
200

OK

application/json
Responseobject
delete
/V1/products/downloadable-links/samples/{id}