PATCH
/
attachments
/
{id}
curl --request PATCH \
  --url https://commerce.driv.ly/api/attachments/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "data": {},
  "type": "<string>",
  "name": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "data": {},
    "type": "<string>",
    "name": "<string>"
  },
  "success": true
}

Path Parameters

id
string
required

Attachment is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Body

application/json

Response

200
application/json

Attachment Updated

The response is of type object.