Welcome‎ > ‎Version 3‎ > ‎Publisher Api‎ > ‎Methods‎ > ‎1 - Offer Related‎ > ‎

Get Offer By Id

Will get offer details for a specific offer by its Id.

Method: GET /api/v3/publisher/offer/{offerId}
Authentication: oauth

Required Parameters
 offerId - the offer id to retrieve.

 base response fields
 offer - The Offer object with the offer id.

Sample Request:

GET http://api.groupcommerce.com/api/v3/publisher/offer/7754

Authorization: OAuth oauth_signature="B21oF4DysFZdjXzsLu%2fafWYjAnM%3d", oauth_nonce="2751700", oauth_timestamp="1320422973", oauth_consumer_key="eeb6b959-b854-4ad1-b563-e801c83cf81d", oauth_signature_method="HMAC-SHA1", oauth_version="1.0"

Sample JSON Response:

    "errors": [],
    "lastPublished": "/Date(1320422979814)/",
    "success": true,
    "version": "3",
    "offer": {
            // see Offer

Sample XML Response:

<getOfferResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <!-- see Offer -->