younifyd
Menu

Get carts/{quoteId}/giftCards

Get carts/{quoteId}/giftCards

GET/V1/carts/{quoteId}/giftCards

Use it in a workflow

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

Request

Path parameters

quoteIdintegerrequired

Response

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

gift_cardsarray<string>

Cards codes.

gift_cards_amountnumber

Cards amount in quote currency.

base_gift_cards_amountnumber

Cards amount in base currency.

gift_cards_amount_usednumber

Cards amount used in quote currency.

base_gift_cards_amount_usednumber

Cards amount used in base currency.

extension_attributesobject

ExtensionInterface class for @see \Magento\GiftCardAccount\Api\Data\GiftCardAccountInterface

json
{
  "gift_cards_amount": 0,
  "base_gift_cards_amount": 0,
  "gift_cards_amount_used": 0,
  "base_gift_cards_amount_used": 0,
  "gift_cards": [
    "string"
  ],
  "extension_attributes": {}
}

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

Get carts/{quoteId}/giftCards — Adobe Commerce — Documentation