Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/swagger/akeneo-web-api.json

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions content/swagger/parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ with_attribute_options:
type: boolean
required: false
x-from-version: "5.0"
update_parent_values:
name: update_parent_values
in: query
description: When set to `true`, allows updating attribute values on the parent product models when patching a variant product. By default, only values owned by the variant product level can be updated.
default: false
type: boolean
required: false
with_table_select_options:
name: with_table_select_options
in: query
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ patch:
description: This endpoint allows you to update a given product. Learn more about <a href="/documentation/update.html#update-behavior">Update behavior</a>. Note that if no product exists for the given identifier, it creates it. In the Entreprise Edition, since the v2.0, permissions based on your user groups are applied to the product you try to update. It may result in the creation of a draft if you only have edit rights through the product's categories.
parameters:
- $ref: '#/parameters/code'
- $ref: '#/parameters/update_parent_values'
- name: body
in: body
required: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ patch:
description: This endpoint allows you to update a given product. Learn more about <a href="/documentation/update.html#update-behavior">Update behavior</a>. Note that if no product exists for the given uuid, it creates it. In the Entreprise Edition, permissions based on your user groups are applied to the product you try to update. It may result in the creation of a draft if you only have edit rights through the product's categories.
parameters:
- $ref: '#/parameters/uuid'
- $ref: '#/parameters/update_parent_values'
- name: body
in: body
required: true
Expand Down