- 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 a record of a given reference entity
PATCH
/api/rest/v1/reference-entities/{reference_entity_code}/records/{code}
Reference entity record
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/api/rest/v1/reference-entities//records/' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
201 - Example 1
{}
Request
Path Params
reference_entity_code
string
required
code
string
required
Body Params application/json
code
string
required
created
string <dateTime>
optional
Default:
null
updated
string <dateTime>
optional
Default:
null
values
object
optional
attributeCode
array [object {3}]
optional
Examples
Responses
🟢201Created
application/json
Body
object {0}
🟢204No content to return
🟠401Authentication required
🟠415Unsupported Media type
🟠422Unprocessable entity
Modified at 2023-08-15 05:53:55