Welcome‎ > ‎Version 2‎ > ‎Publisher Api (Read/Write)‎ > ‎Methods‎ > ‎3 - Consumer‎ > ‎

Contact

Will send a request to customer service

Method: /api/v2/publisher/contact
Authentication: oauth

Post
Requried Form Name Explanation
Yes
EmailAddress
The Email address requesting contact.
Yes
Name
The name requesting contact.
Yes
Subject
The subject of the contact. One of:
{ PaymentQuestion, ProblemWithMyOrder, QuestionAboutOffer, CantAccessMyVoucher, IssueGiftingTheOffer, ProblemRedeemingMyVoucher, InquiryAboutMyBusiness, GeneralQuestion, Suggestion, Other }
Yes
Message
The message sent to customer service.
Yes
SegmentKey
The segment key for the contact.
No
OfferSlug
The slug of the offer with a question.
No
CustomerDealTitle
The title for the offer.
No
HighPriority
Bool value whether this is a high priority request.  Typically for immediately redeeming a voucher.
No
Tags[0...N]
List of tags associated with the contact.

Returns:
  success - Whether or not the contact request was successful.

Sample Request:
POST /api/v2/publisher/contact HTTP/1.1

Name=Sylvester%20Martin&EmailAddress=email%40email.com&SegmentKey=boston&DealSlug=&Subject=ProblemWithMyOrder&Message=Phone%20Number%3A%20Phone%20Number%0AThis%20is%20my%20question.&CustomerDealTitle=&HighPriority=false

Authorization: OAuth oauth_consumer_key="2ef75cb3-6579-49d3-a804-c0a0d1b3d5d0", oauth_nonce="SG044", oauth_signature="dQHsqoxO9xx7VQTA1wRujQOHr2U%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1306886309", oauth_version="1.0"

Host: apitest.groupcommerce.com

Sample XML Response:
<contactResult>
    <success>true</success>
</contactResult>


Sample JSON Response:
{
    "success":true
}


Comments