younifyd
Menu

Create order/{orderId}/ship

Create order/{orderId}/ship

POST/V1/order/{orderId}/ship

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Create order/{orderId}/ship action (under Orders).
  3. Fill in the fields below, then reference the result from later steps as {{createOrderOrderidShip.response.data}}.

Request

Path parameters

orderIdintegerrequired

Request body

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

itemsarray<object>
extension_attributesobject

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

order_item_idintegerrequired

Order item ID.

qtynumberrequired

Quantity.

notifyboolean
appendCommentboolean
commentobject

Interface ShipmentCommentCreationInterface

extension_attributesobject

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

commentstringrequired

Comment.

is_visible_on_frontintegerrequired

Is-visible-on-storefront flag value.

tracksarray<object>
extension_attributesobject

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

track_numberstringrequired

Track number.

titlestringrequired

Title.

carrier_codestringrequired

Carrier code.

packagesarray<object>
extension_attributesobject

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

argumentsobject

Interface for creation arguments for Shipment.

extension_attributesobject1 fields

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

json
{
  "items": [
    {
      "order_item_id": 0,
      "qty": 0,
      "extension_attributes": {}
    }
  ],
  "notify": false,
  "appendComment": false,
  "comment": {
    "comment": "string",
    "is_visible_on_front": 0,
    "extension_attributes": {}
  },
  "tracks": [
    {
      "track_number": "string",
      "title": "string",
      "carrier_code": "string",
      "extension_attributes": {}
    }
  ],
  "packages": [
    {
      "extension_attributes": {}
    }
  ],
  "arguments": {
    "extension_attributes": {
      "source_code": "string"
    }
  }
}

Response

Returns 200 with a integer. Read it in later steps with {{createOrderOrderidShip.response.data.<field>}}.

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