Menu
Update returns/{id}
Update returns/{id}
PUT
/V1/returns/{id}Use it in a workflow
- Add a step and choose the Adobe Commerce connector.
- Pick the Update returns/{id} action (under Returns).
- Fill in the fields below, then reference the result from later steps as
{{updateReturnsId.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{updateReturnsId.response.data.<field>}}.
{
"increment_id": "string",
"entity_id": 0,
"order_id": 0,
"order_increment_id": "string",
"store_id": 0,
"customer_id": 0,
"date_requested": "string",
"customer_custom_email": "string",
"items": [
{
"entity_id": 0,
"rma_entity_id": 0,
"order_item_id": 0,
"qty_requested": 0,
"qty_authorized": 0,
"qty_approved": 0,
"qty_returned": 0,
"reason": "string",
"condition": "string",
"resolution": "string",
"status": "string",
"extension_attributes": {}
}
],
"status": "string",
"comments": [
{
"comment": "string",
"rma_entity_id": 0,
"created_at": "string",
"entity_id": 0,
"customer_notified": false,
"visible_on_front": false,
"status": "string",
"admin": false,
"extension_attributes": {},
"custom_attributes": [
{
"attribute_code": "string",
"value": "string"
}
]
}
],
"tracks": [
{
"entity_id": 0,
"rma_entity_id": 0,
"track_number": "string",
"carrier_title": "string",
"carrier_code": "string",
"extension_attributes": {}
}
]
}
Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.
Was this page helpful?