The updateGiftlist actor-chain allows an agent to edit a customer’s gift or wish list.

Note: The following parameters are all optional, unless stated otherwise.

Parameter

Description

isPublished

Identifies if the list has been published.

siteId

The ID of the site.

eventName

Required. The name of the gift list event.

eventDate

Required. The date of the gift list event.

eventType

Required. The type of the gift list event.

description

A description of the gift list.

comments

Any comments that are included with the list.

shippingAddressId

The ID of the shipping address.

instructions

Any instructions that are included with the list.

isNewAddress

Identifies if the address included in this list is new.

firstName

The first name of the customer.

middleName

The middle name or initial of the customer.

lastName

The last name of the customer.

address1

The first address field of the customer.

address2

The second address field of the customer.

city

The city of the customer’s address.

state

The state or province of the customer’s address.

postalCode

The postal code of the customer’s address.

country

The country of the customer’s address.

phoneNumber

The phone number associated with the customer.

Update Customer Gift List Example
curl -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
"giftlistId": "gl240010", "eventName" : "|St Patricks Day|", "eventType": "Other",
"description": \"Things needed for St Patrick's Day\", "eventDate" :
 \"MAR 17, 2013\"}" "http://localhost:8180/rest/model/atg/commerce/custsvc/gifts/
CSRGiftlistActor/updateGiftlist"

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices