younifyd
Menu

Get creditmemo/{id}/comments

Get creditmemo/{id}/comments

GET/V1/creditmemo/{id}/comments

Use it in a workflow

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

Request

Path parameters

idintegerrequired

The credit memo ID.

Response

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

itemsarray<object>

Array of collection items.

commentstringrequired

Comment.

created_atstring

Created-at timestamp.

entity_idinteger

Credit memo ID.

is_customer_notifiedintegerrequired

Is-customer-notified flag value.

is_visible_on_frontintegerrequired

Is-visible-on-storefront flag value.

parent_idintegerrequired

Parent ID.

extension_attributesobject

ExtensionInterface class for @see \Magento\Sales\Api\Data\CreditmemoCommentInterface

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",
      "is_customer_notified": 0,
      "is_visible_on_front": 0,
      "parent_id": 0,
      "created_at": "string",
      "entity_id": 0,
      "extension_attributes": {}
    }
  ],
  "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.