Welcome‎ > ‎Version 3‎ > ‎Publisher Api‎ > ‎Methods‎ > ‎2 - Consumer Related‎ > ‎

Create Ticket

This method will create a ticket in the group commerce customer service system.  If the publisher has set up their own custom support, this endpoint will push the request into the publisher's CRM.

Method: POST /api/v3/publisher/createTicket

Authentication: oauth
 
Post
Required Form Name Data Type Explanation
No
CustomerDealTitlestring The title of the offer that pertains to the request.
No
OfferSlug
string The slug for the offer that pertains to the request.
Yes Email string The email address of the customer.
No HighPriority boolWhether or not this request is high priority.  Such as for a offer they are redeeming today.
Yes
Message
string The message body of the request.
Yes
Namestring The name of the customer.
No SegmentKeystring The segment key of the customer.
Yes
Subjectstring The subject of the request.  One of: { PaymentQuestion, ProblemWithMyOrder, QuestionAboutOffer, CantAccessMyVoucher, IssueGiftingTheOffer, ProblemRedeemingMyVoucher, InquiryAboutMyBusiness, GeneralQuestion, Suggestion, Other } 
No Tags string List of tags associated with the request.

Returns
base response fields


Sample Request:

POST  http://api.groupcommerce.com/api/v3/publisher/createticket

Form: Email=gsadowski%2btest%40groupcommerce.com&HighPriority=True&Name=Name&Message=This+is+a+test&Subject=PaymentQuestion&CustomerDealTitle=Test+Deal&DealSlug=test-deal&SegmentKey=new-york&Tags%5b0%5d=tag1&Tags%5b1%5d=tag2&Tags%5b2%5d=tag3

Authorization: OAuth oauth_signature="KUdqL%2fLD3j%2bRJ2tF2Wh3Ti3m8%2bw%3d", oauth_nonce="1651155", oauth_timestamp="1320795272", oauth_consumer_key="eeb6b959-b854-4ad1-b563-e801c83cf81d", oauth_signature_method="HMAC-SHA1", oauth_version="1.0"


Sample JSON Response:

{
    "errors":[],
    "lastPublished":"/Date(1319762442406)/",
    "success":true,
    "version":"3"
}


Sample XML Response:

<createTicketResponsexmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <errors/>
    <lastPublished>2011-10-28T00:41:46.6073105Z</lastPublished>
    <success>true</success>
    <version>3</version>
</createTicketResponse>
Comments