younifyd
Menu

Create invoices/comments

Create invoices/comments

POST/V1/invoices/comments

Use it in a workflow

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

Request

Request body

Enter the body as JSON in the step's Body field.

entityobjectrequired

Invoice comment interface. An invoice is a record of the receipt of payment for an order. An invoice can include comments that detail the invoice history.

is_customer_notifiedintegerrequired

Is-customer-notified flag value.

parent_idintegerrequired

Parent ID.

extension_attributesobject

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

commentstringrequired

Comment.

is_visible_on_frontintegerrequired

Is-visible-on-storefront flag value.

created_atstring

Created-at timestamp.

entity_idinteger

Invoice ID.

json
{
  "entity": {
    "is_customer_notified": 0,
    "parent_id": 0,
    "comment": "string",
    "is_visible_on_front": 0,
    "extension_attributes": {},
    "created_at": "string",
    "entity_id": 0
  }
}

Response

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

is_customer_notifiedinteger

Is-customer-notified flag value.

parent_idinteger

Parent ID.

extension_attributesobject

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

commentstring

Comment.

is_visible_on_frontinteger

Is-visible-on-storefront flag value.

created_atstring

Created-at timestamp.

entity_idinteger

Invoice ID.

json
{
  "is_customer_notified": 0,
  "parent_id": 0,
  "comment": "string",
  "is_visible_on_front": 0,
  "extension_attributes": {},
  "created_at": "string",
  "entity_id": 0
}

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