voids
Update a void
Changed onUpdate a void
patch/voids/{voidId}
Request
- Base URLhttps://{your_organization_slug}.commercelayer.io/api
- URLhttps://{your_organization_slug}.commercelayer.io/api/voids/{voidId}
- AuthHTTP bearer
Path parameters
voidIdstring required
The resource's id
Request body
Example request
{
"data": {
"id": "XAyRWNUzyN",
"attributes": {
"_forward": true,
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
}
}
}
}Response
The updated void object
Changes
- info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info