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}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}Return 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-messageSet 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-message