younifyd
Menu

Get carts/{cartId}/gift-message

Get carts/{cartId}/gift-message

GET/V1/carts/{cartId}/gift-message

Use it in a workflow

  1. Add a step and choose the Adobe Commerce connector.
  2. Pick the Get carts/{cartId}/gift-message action (under Carts).
  3. Fill in the fields below, then reference the result from later steps as {{getCartsCartidGiftMessage.response.data}}.

Request

Path parameters

cartIdintegerrequired

The shopping cart ID.

Response

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

gift_message_idinteger

Gift message ID. Otherwise, null.

customer_idinteger

Customer ID. Otherwise, null.

senderstring

Sender name.

recipientstring

Recipient name.

messagestring

Message text.

extension_attributesobject

ExtensionInterface class for @see \Magento\GiftMessage\Api\Data\MessageInterface

entity_idstring
entity_typestring
wrapping_idinteger
wrapping_allow_gift_receiptboolean
wrapping_add_printed_cardboolean
json
{
  "sender": "string",
  "recipient": "string",
  "message": "string",
  "gift_message_id": 0,
  "customer_id": 0,
  "extension_attributes": {
    "entity_id": "string",
    "entity_type": "string",
    "wrapping_id": 0,
    "wrapping_allow_gift_receipt": false,
    "wrapping_add_printed_card": false
  }
}

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

Get carts/{cartId}/gift-message — Adobe Commerce — Documentation