younifyd
Menu

Create shipment/track

Create shipment/track

POST/V1/shipment/track

Use it in a workflow

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

Request

Request body

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

entityobjectrequired

Shipment track 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. Merchants and customers can track shipments.

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.

json
{
  "entity": {
    "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": {}
  }
}

Response

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

order_idinteger

The order_id for the shipment package.

created_atstring

Created-at timestamp.

entity_idinteger

Shipment package ID.

parent_idinteger

Parent ID.

updated_atstring

Updated-at timestamp.

weightnumber

Weight.

qtynumber

Quantity.

descriptionstring

Description.

extension_attributesobject

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

track_numberstring

Track number.

titlestring

Title.

carrier_codestring

Carrier code.

json
{
  "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": {}
}

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