cURL
curl --request POST \ --url https://commerce.driv.ly/api/attachments \ --header 'Content-Type: application/json' \ --data '{ "id": "<string>", "data": {}, "type": "<string>", "name": "<string>" }'
{ "data": { "id": "<string>", "data": {}, "type": "<string>", "name": "<string>" }, "success": true }
The number of levels of related objects to include in the response
Attachment has Data
Attachment has Attachment Type
1
Attachment has Name
Attachment is uniquely identified by id
Attachment Created
Show child attributes