younifyd
Menu

Get shipment/{id}

Get shipment/{id}

GET/V1/shipment/{id}

Use it in a workflow

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

Request

Path parameters

idintegerrequired

The shipment ID.

Response

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

billing_address_idinteger

Billing address ID.

created_atstring

Created-at timestamp.

customer_idinteger

Customer ID.

email_sentinteger

Email-sent flag value.

entity_idinteger

Shipment ID.

increment_idstring

Increment ID.

order_idinteger

Order ID.

packagesarray<object>

Array of packages, if any. Otherwise, null.

extension_attributesobject

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

shipment_statusinteger

Shipment status.

shipping_address_idinteger

Shipping address ID.

shipping_labelstring

Shipping label.

store_idinteger

Store ID.

total_qtynumber

Total quantity.

total_weightnumber

Total weight.

updated_atstring

Updated-at timestamp.

itemsarray<object>

Array of items.

additional_datastring

Additional data.

descriptionstring

Description.

entity_idinteger

Shipment item ID.

namestring

Name.

parent_idinteger

Parent ID.

pricenumber

Price.

product_idinteger

Product ID.

row_totalnumber

Row total.

skustring

SKU.

weightnumber

Weight.

extension_attributesobject

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

order_item_idintegerrequired

Order item ID.

qtynumberrequired

Quantity.

tracksarray<object>

Array of tracks.

order_idintegerrequired

The order_id for the shipment package.

created_atstring

Created-at timestamp.

entity_idinteger

Shipment package ID.

parent_idintegerrequired

Parent ID.

updated_atstring

Updated-at timestamp.

weightnumberrequired

Weight.

qtynumberrequired

Quantity.

descriptionstringrequired

Description.

extension_attributesobject

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

track_numberstringrequired

Track number.

titlestringrequired

Title.

carrier_codestringrequired

Carrier code.

commentsarray<object>

Array of 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.

extension_attributesobject

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

source_codestring
json
{
  "order_id": 0,
  "items": [
    {
      "order_item_id": 0,
      "qty": 0,
      "additional_data": "string",
      "description": "string",
      "entity_id": 0,
      "name": "string",
      "parent_id": 0,
      "price": 0,
      "product_id": 0,
      "row_total": 0,
      "sku": "string",
      "weight": 0
    }
  ],
  "tracks": [
    {
      "order_id": 0,
      "parent_id": 0,
      "weight": 0,
      "qty": 0,
      "description": "string",
      "track_number": "string",
      "title": "string",
      "carrier_code": "string",
      "created_at": "string",
      "entity_id": 0,
      "updated_at": "string",
      "extension_attributes": {}
    }
  ],
  "comments": [
    {
      "is_customer_notified": 0,
      "parent_id": 0,
      "comment": "string",
      "is_visible_on_front": 0,
      "extension_attributes": {},
      "created_at": "string",
      "entity_id": 0
    }
  ],
  "billing_address_id": 0,
  "created_at": "string",
  "customer_id": 0,
  "email_sent": 0,
  "entity_id": 0,
  "increment_id": "string",
  "packages": [
    {
      "extension_attributes": {}
    }
  ],
  "shipment_status": 0
}

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