younifyd
Menu

Create shipment/{id}/comments

Create shipment/{id}/comments

POST/V1/shipment/{id}/comments

Use it in a workflow

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

Request

Path parameters

idstringrequired

Request body

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

entityobjectrequired

Shipment comment interface. A shipment is a delivery package that contains products. A shipment document accompanies the shipment. This document lists the products and their quantities in the delivery package. A shipment document can contain comments.

is_customer_notifiedintegerrequired

Is-customer-notified flag value.

parent_idintegerrequired

Parent ID.

extension_attributesobject

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

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 {{createShipmentIdComments.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\ShipmentCommentInterface

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.

Create shipment/{id}/comments — Adobe Commerce — Documentation