ReDoc documentation
Save RMA
required | object (rma-data-rma-interface) Interface RmaInterface |
200 Success.
401 Unauthorized
Unexpected error
{- "rmaDataObject": {
- "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": true,
- "visible_on_front": true,
- "status": "string",
- "admin": true,
- "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": { }
}
], - "extension_attributes": { },
- "custom_attributes": [
- {
- "attribute_code": "string",
- "value": "string"
}
]
}
}
{- "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": true,
- "visible_on_front": true,
- "status": "string",
- "admin": true,
- "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": { }
}
], - "extension_attributes": { },
- "custom_attributes": [
- {
- "attribute_code": "string",
- "value": "string"
}
]
}
Return list of rma data objects based on search criteria
200 Success.
401 Unauthorized
Unexpected error
{- "items": [
- {
- "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": true,
- "visible_on_front": true,
- "status": "string",
- "admin": true,
- "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": { }
}
], - "extension_attributes": { },
- "custom_attributes": [
- {
- "attribute_code": "string",
- "value": "string"
}
]
}
], - "search_criteria": {
- "filter_groups": [
- {
- "filters": [
- {
- "field": "string",
- "value": "string",
- "condition_type": "string"
}
]
}
], - "sort_orders": [
- {
- "field": "string",
- "direction": "string"
}
], - "page_size": 0,
- "current_page": 0
}, - "total_count": 0
}