Gift message
Return the gift message for a specified item in a specified shopping cart.
Path parameters
cartIdstringRequiredExample: 
(Required) The shopping cart ID.
<string>itemIdstringRequiredExample: 
(Required) The item ID.
<integer>Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
500
Internal Server Error
application/json
get
/V1/guest-carts/{cartId}/gift-message/{itemId}GET /V1/guest-carts/{cartId}/gift-message/{itemId} HTTP/1.1
Host: {{baseurl}}
Accept: */*
{
  "sender": "<string>",
  "recipient": "<string>",
  "message": "<string>",
  "gift_message_id": "<integer>",
  "customer_id": "<integer>",
  "extension_attributes": {
    "entity_id": "aute anim aliqua nulla eu",
    "entity_type": "consectetur dolo"
  }
}Set the gift message for a specified item in a specified shopping cart.
Path parameters
cartIdstringRequiredExample: 
(Required) The cart ID.
<string>itemIdstringRequiredExample: 
(Required) The item ID.
<integer>Header parameters
Content-TypestringOptionalExample: 
application/jsonBody
objectOptionalExample: 
{"giftMessage":{"sender":"<string>","recipient":"<string>","message":"<string>","gift_message_id":"<integer>","customer_id":"<integer>","extension_attributes":{"entity_id":"nulla Excepteur cillum consectetur","entity_type":"laboris in quis incididunt"}}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/V1/guest-carts/{cartId}/gift-message/{itemId}POST /V1/guest-carts/{cartId}/gift-message/{itemId} HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 254
{
  "giftMessage": {
    "sender": "<string>",
    "recipient": "<string>",
    "message": "<string>",
    "gift_message_id": "<integer>",
    "customer_id": "<integer>",
    "extension_attributes": {
      "entity_id": "nulla Excepteur cillum consectetur",
      "entity_type": "laboris in quis incididunt"
    }
  }
}trueReturn the gift message for a specified order.
Path parameters
cartIdstringRequiredExample: 
(Required) The shopping cart ID.
<string>Responses
200
OK
application/json
Responseobject
500
Internal Server Error
application/json
get
/V1/guest-carts/{cartId}/gift-messageGET /V1/guest-carts/{cartId}/gift-message HTTP/1.1
Host: {{baseurl}}
Accept: */*
{
  "sender": "<string>",
  "recipient": "<string>",
  "message": "<string>",
  "gift_message_id": "<integer>",
  "customer_id": "<integer>",
  "extension_attributes": {
    "entity_id": "aute anim aliqua nulla eu",
    "entity_type": "consectetur dolo"
  }
}Set the gift message for an entire order.
Path parameters
cartIdstringRequiredExample: 
(Required) The cart ID.
<string>Header parameters
Content-TypestringOptionalExample: 
application/jsonBody
objectOptionalExample: 
{"giftMessage":{"sender":"<string>","recipient":"<string>","message":"<string>","gift_message_id":"<integer>","customer_id":"<integer>","extension_attributes":{"entity_id":"nulla Excepteur cillum consectetur","entity_type":"laboris in quis incididunt"}}}Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
500
Internal Server Error
application/json
post
/V1/guest-carts/{cartId}/gift-messagePOST /V1/guest-carts/{cartId}/gift-message HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 254
{
  "giftMessage": {
    "sender": "<string>",
    "recipient": "<string>",
    "message": "<string>",
    "gift_message_id": "<integer>",
    "customer_id": "<integer>",
    "extension_attributes": {
      "entity_id": "nulla Excepteur cillum consectetur",
      "entity_type": "laboris in quis incididunt"
    }
  }
}true