Puts the entry relation.
1 min
PUT
/episerverapi/commerce/entries/{entryCode}/entryrelations/{childCode}/{relationType}
childCodestringThe child code.
relationTypestringType of the relation.
entryCodestring
entryCodestringThe entry code.
bodyobjectThe relation.
200Success
204The entry relation is saved.
400If the entry relation model is not valid.
401If user does not have enough permission for this request.
404If entry or entry relation does not exist.
curl --request PUT \
--url /episerverapi/commerce/entries/{entryCode}/entryrelations/{childCode}/{relationType} \
--header 'accept: application/json'