Gift message

gift Message Guest Item Repository V1Get Get

get

Return the gift message for a specified item in a specified shopping cart.

Path parameters
cartIdstringRequired

(Required) The shopping cart ID.

Example: <string>
itemIdstringRequired

(Required) The item ID.

Example: <integer>
Responses
200

OK

application/json
Responseobject
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"
  }
}

gift Message Guest Item Repository V1Save Post

post

Set the gift message for a specified item in a specified shopping cart.

Path parameters
cartIdstringRequired

(Required) The cart ID.

Example: <string>
itemIdstringRequired

(Required) The item ID.

Example: <integer>
Header parameters
Content-TypestringOptionalExample: application/json
Body
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
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"
    }
  }
}
true

gift Message Guest Cart Repository V1Get Get

get

Return the gift message for a specified order.

Path parameters
cartIdstringRequired

(Required) The shopping cart ID.

Example: <string>
Responses
200

OK

application/json
Responseobject
get
/V1/guest-carts/{cartId}/gift-message
GET /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"
  }
}

gift Message Guest Cart Repository V1Save Post

post

Set the gift message for an entire order.

Path parameters
cartIdstringRequired

(Required) The cart ID.

Example: <string>
Header parameters
Content-TypestringOptionalExample: application/json
Body
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
post
/V1/guest-carts/{cartId}/gift-message
POST /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