- Authentication
- Overview
- PAM asset category
- Asset family
- Asset
- Asset attribute
- Asset attribute option
- Asset media file
- PAM asset tag
- PAM asset
- PAM asset reference file
- PAM asset variation file
- Association type
- Attribute group
- Attribute
- Attribute option
- Category
- Channel
- Currency
- Family
- Family variant
- Locale
- Measure family
- Measurement family
- Product media file
- Product model
- Product
- Published product
- Reference entity
- Reference entity media file
- Reference entity attribute
- Reference entity attribute option
- Reference entity record
- System
- Catalogs
- Catalog products
- Product [identifier]
- Product [uuid]
Update/create several products
PATCH
/api/rest/v1/products
Product [identifier]
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/api/rest/v1/products' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
200 - Example 1
{
"code": "string",
"identifier": "string",
"line": 0,
"message": "string",
"status_code": 0
}
Request
Body Params application/json
associations
object
optional
associationTypeCode
object
optional
categories
array[string]
optional
completenesses
array [object {3}]
optional
data
integer
optional
locale
string
optional
scope
string
optional
created
string <dateTime>
optional
enabled
boolean
optional
Default:
true
family
string
optional
Default:
null only in the case of a non variant product
groups
array[string]
optional
identifier
string
required
pim_catalog_identifier
attributemetadata
object
optional
workflow_status
enum<string>
optional
Allowed values:
read_onlydraft_in_progressproposal_waiting_for_approvalworking_copy
parent
string
optional
Default:
null
quality_scores
object
optional
quantified_associations
object
optional
quantifiedAssociationTypeCode
object
optional
updated
string <dateTime>
optional
uuid
string
optional
values
object
optional
attributeCode
array [object {4}]
optional
Examples
Responses
🟢200OK
application/json
Body
code
string
optional
identifier
string
optional
line
integer
optional
message
string
optional
status_code
integer
optional
🟠401Authentication required
🟠403Access forbidden
🟠413Request Entity Too Large
🟠415Unsupported Media type
Modified at 2023-08-15 05:53:55