younifyd
Menu

Get returns/{id}/comments

Get returns/{id}/comments

GET/V1/returns/{id}/comments

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Get returns/{id}/comments action (under Returns).
  3. Fill in the fields below, then reference the result from later steps as {{getReturnsIdComments.response.data}}.

Request

Path parameters

idintegerrequired

Response

Returns 200 with an object. Read it in later steps with {{getReturnsIdComments.response.data.<field>}}.

itemsarray<object>

Rma Status History list

commentstringrequired

Comment

rma_entity_idintegerrequired

Rma Id

created_atstringrequired

Created_at

entity_idintegerrequired

Entity_id

customer_notifiedbooleanrequired

Is_customer_notified

visible_on_frontbooleanrequired

Is_visible_on_front

statusstringrequired

Status

adminbooleanrequired

Is_admin

extension_attributesobject

ExtensionInterface class for @see \Magento\Rma\Api\Data\CommentInterface

custom_attributesarray<object>2 fields

Custom attributes values.

search_criteriaobject

Search criteria interface.

filter_groupsarray<object>required1 fields

A list of filter groups.

sort_ordersarray<object>2 fields

Sort order.

page_sizeinteger

Page size.

current_pageinteger

Current page.

total_countinteger

Total count.

json
{
  "items": [
    {
      "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"
        }
      ]
    }
  ],
  "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
}

Need more? See the Adobe Commerce guide for connection setup and behaviour shared by every action.