Puts the entry relation.
1 min
PUT
http://localhost:64424/episerverapi/commerce/entries/{entryCode}/entryrelations/{childCode}/{relationType}
entryCodestringThe entry code.
childCodestringThe child code.
relationTypestringType of the relation.
acceptstringGenerated from available response content types
bodyobjectThe relation.
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 http://localhost:64424/episerverapi/commerce/entries/{entryCode}/entryrelations/{childCode}/{relationType} \
--header 'accept: application/json'