Punchh Social Cause Campaigns API

The Social Cause Campaigns API from Punchh — 3 operation(s) for social cause campaigns.

Operations 3

POST /api2/dashboard/social_cause_campaigns Create Social Cause Campaign #
PATCH /api2/dashboard/social_cause_campaigns/activate Activate Social Cause Campaign #
PATCH /api2/dashboard/social_cause_campaigns/deactivate Deactivate Social Cause Campaign #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/mobile-access-token-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/mobile-create-user-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/mobile-login-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/mobile-mark-offers-read-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/mobile-transaction-details-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/mobile-transaction-details-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/mobile-update-user-profile-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/mobile-user-session-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-structure/mobile-access-token-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-structure/mobile-create-user-request-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-structure/mobile-login-request-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-structure/mobile-mark-offers-read-request-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-structure/mobile-transaction-details-request-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-structure/mobile-transaction-details-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-structure/mobile-update-user-profile-request-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-structure/mobile-user-session-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/online-ordering-online-order-checkin-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/online-ordering-online-order-checkin-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/online-ordering-online-order-redemption-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/online-ordering-online-order-redemption-response-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-structure/online-ordering-online-order-checkin-request-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-structure/online-ordering-online-order-checkin-response-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-structure/online-ordering-online-order-redemption-request-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-structure/online-ordering-online-order-redemption-response-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-schema/platform-functions-redeemable-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-structure/platform-functions-redeemable-structure.json

Other Resources

🔗
Examples
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/examples/mobile-access-token-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/examples/mobile-create-user-request-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/examples/mobile-login-request-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/examples/mobile-mark-offers-read-request-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/examples/mobile-transaction-details-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/examples/mobile-transaction-details-request-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/examples/mobile-update-user-profile-request-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/examples/mobile-user-session-example.json
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-ld/punchh-mobile-context.jsonld
🔗
PostmanCollection
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/collections/punchh-mobile.postman_collection.json
🔗
OpenCollection
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/collections/punchh-mobile.opencollection.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/examples/online-ordering-online-order-checkin-request-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/examples/online-ordering-online-order-checkin-response-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/examples/online-ordering-online-order-redemption-request-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/examples/online-ordering-online-order-redemption-response-example.json
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-ld/punchh-online-ordering-context.jsonld
🔗
PostmanCollection
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/collections/punchh-online-ordering.postman_collection.json
🔗
OpenCollection
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/collections/punchh-online-ordering.opencollection.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/examples/platform-functions-redeemable-example.json
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/json-ld/punchh-platform-functions-context.jsonld
🔗
PostmanCollection
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/collections/punchh-platform-functions.postman_collection.json
🔗
OpenCollection
https://raw.githubusercontent.com/api-evangelist/punchh/refs/heads/main/collections/punchh-platform-functions.opencollection.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/punchh-social-cause-campaigns-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

punchh-social-cause-campaigns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Platform Functions Social Cause Campaigns API
  version: '1.0'
  description: This API documentation is intended to provide comprehensive information for admin users of the Punchh platform. Many of the settings and available actions depend on an appropriate level of access to Platform Functions APIs.
  contact:
    name: Punchh DevSupport
    url: https://developers.punchh.com
servers:
- url: https://SERVER_NAME_GOES_HERE.punchh.com
tags:
- name: Social Cause Campaigns
paths:
  /api2/dashboard/social_cause_campaigns:
    post:
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  social_cause_id:
                    type: integer
                    description: Unique ID assigned to the social cause campaign. This ID is generated by Punchh when the social cause campaign is created in the Punchh platform.
                  name:
                    type: string
                    description: Name of the social cause campaign as defined by the business admin when creating the social cause campaign in the Punchh platform
                  description:
                    type: string
                    description: Description of the social cause campaign as defined by the business admin
                  image_url:
                    type: string
                    description: URL of the image that is attached to the social cause campaign by the business admin
                  miscellaneous:
                    type: 'null'
                    description: Returns miscellaneous response string as configured in the Punchh platform
                  city:
                    type: string
                    description: City
                  state:
                    type: string
                    description: State
                  street:
                    type: string
                    description: Street name
                  zip:
                    type: string
                    description: Zip code
                  phone_number:
                    type: string
                    description: Phone number
                  email:
                    type: string
                    description: Email address
                  address:
                    type: string
                    description: Address
                  activated:
                    type: boolean
                    description: Status of the social cause campaign
              examples:
                default:
                  value:
                    social_cause_id: 745
                    name: social_cause_campaign_19
                    description: social_cause_campaign_description_19
                    image_url: IMAGE_URL_GOES_HERE
                    miscellaneous: null
                    city: test_city
                    state: Rajasthan
                    street: ADDRESS_GOES_HERE
                    zip: '302001'
                    phone_number: '1111111111'
                    email: test@example.com
                    address: ADDRESS_GOES_HERE
                    activated: true
        '401':
          $ref: '#/components/responses/401-unauthorized'
      summary: Create Social Cause Campaign
      description: Allows an admin user to create a social cause campaign on the Punchh platform
      operationId: dashboard_create_social_cause_campaigns
      tags:
      - Social Cause Campaigns
      parameters:
      - $ref: '#/components/parameters/authorization-header'
      x-stoplight:
        id: ad1a1e17cd024
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                social_cause_campaign:
                  type: object
                  properties:
                    name:
                      type: string
                      description: Name of the social cause campaign as defined by the business admin when creating the social cause campaign in the Punchh platform
                    description:
                      type: string
                      description: Description of the social cause campaign as defined by the business admin
                    city:
                      type: string
                      description: City
                    state:
                      type: string
                      description: State
                    street:
                      type: string
                      description: Street name
                    zip:
                      type: string
                      description: Zip code
                    phone_number:
                      type: string
                      description: Phone number
                    email:
                      type: string
                      description: Email address
                    address:
                      type: string
                      description: Address
                    start_date:
                      type: string
                      description: Start date of the social cause campaign
                    end_date:
                      type: string
                      description: End date of the social cause campaign
                    remote_image_url:
                      type: string
                      description: URL of the image that is attached to the social cause campaign by the business admin
            examples:
              social_cause_campaign:
                value:
                  name: social_cause_campaign_19
                  description: social_cause_campaign_description_19
                  city: test_city
                  state: Rajasthan
                  street: ADDRESS_GOES_HERE
                  zip: '302001'
                  phone_number: '1111111111'
                  email: test@example.com
                  address: ADDRESS_GOES_HERE
                  start_date: '2019-06-26'
                  end_date: '2019-06-26'
                  remote_image_url: IMAGE_URL_GOES_HERE
  /api2/dashboard/social_cause_campaigns/activate:
    patch:
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  social_cause_id:
                    type: integer
                    description: Unique ID assigned to the social cause campaign. This ID is generated by Punchh when the social cause campaign is created in the Punchh platform.
                  name:
                    type: string
                    description: Name of the social cause campaign as defined by the business admin when creating the social cause campaign in the Punchh platform
                  description:
                    type: string
                    description: Description of the social cause campaign as defined by the business admin
                  image_url:
                    type: string
                    description: URL of the image that is attached to the social cause campaign by the business admin
                  miscellaneous:
                    type: 'null'
                    description: Returns miscellaneous response string as configured in the Punchh platform
                  city:
                    type: string
                    description: City
                  state:
                    type: string
                    description: State
                  street:
                    type: string
                    description: Street name
                  zip:
                    type: string
                    description: Zip code
                  phone_number:
                    type: string
                    description: Phone number
                  email:
                    type: string
                    description: Email address
                  address:
                    type: string
                    description: Address
                  activated:
                    type: boolean
                    description: Status of the social cause campaign
              examples:
                default:
                  value:
                    social_cause_id: 20504
                    name: social_cause_campaign_20
                    description: social_cause_campaign_description_19
                    image_url: IMAGE_URL_GOES_HERE
                    miscellaneous: null
                    city: test_city
                    state: Rajasthan
                    street: ADDRESS_GOES_HERE
                    zip: '302001'
                    phone_number: '1111111111'
                    email: test@example.com
                    address: ADDRESS_GOES_HERE
                    activated: true
      summary: Activate Social Cause Campaign
      description: Activates a social cause campaign
      operationId: dashboard_social_cause_activate
      tags:
      - Social Cause Campaigns
      parameters:
      - $ref: '#/components/parameters/authorization-header'
      x-stoplight:
        id: 8081186acdbd5
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                social_cause_id:
                  type: integer
                  description: Unique ID assigned to the social cause campaign that will be activated. This ID is generated by Punchh when the social cause campaign is created in the Punchh platform.
              required:
              - social_cause_id
            examples:
              default:
                value:
                  social_cause_id: 20504
  /api2/dashboard/social_cause_campaigns/deactivate:
    patch:
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  social_cause_id:
                    type: integer
                    description: Unique ID assigned to the social cause campaign. This ID is generated by Punchh when the social cause campaign is created in the Punchh platform.
                  name:
                    type: string
                    description: Name of the social cause campaign as defined by the business admin when creating the social cause campaign in the Punchh platform
                  description:
                    type: string
                    description: Description of the social cause campaign as defined by the business admin
                  image_url:
                    type: string
                    description: URL of the image that is attached to the social cause campaign by the business admin
                  miscellaneous:
                    type: 'null'
                    description: Returns miscellaneous response string as configured in the Punchh platform
                  city:
                    type: string
                    description: City
                  state:
                    type: string
                    description: State
                  street:
                    type: string
                    description: Street name
                  zip:
                    type: string
                    description: Zip code
                  phone_number:
                    type: string
                    description: Phone number
                  email:
                    type: string
                    description: Email address
                  address:
                    type: string
                    description: Address
                  activated:
                    type: boolean
                    description: Status of the social cause campaign
              examples:
                default:
                  value:
                    social_cause_id: 20504
                    name: social_cause_campaign_20
                    description: social_cause_campaign_description_19
                    image_url: IMAGE_URL_GOES_HERE
                    miscellaneous: null
                    city: test_city
                    state: Rajasthan
                    street: ADDRESS_GOES_HERE
                    zip: '302001'
                    phone_number: '1111111111'
                    email: test@example.com
                    address: ADDRESS_GOES_HERE
                    activated: false
      summary: Deactivate Social Cause Campaign
      operationId: dashboard_social_cause_deactivate
      tags:
      - Social Cause Campaigns
      description: Deactivates a social cause campaign
      parameters:
      - schema:
          type: string
          default: Bearer BUSINESS_ADMIN_KEY_GOES_HERE
        in: header
        name: Authorization
      x-stoplight:
        id: b166d42a3b587
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                social_cause_id:
                  type: integer
                  description: Unique ID assigned to the social cause campaign that will be deactivated. This ID is generated by Punchh when the social cause campaign is created in the Punchh platform.
              required:
              - social_cause_id
            examples:
              default:
                value:
                  social_cause_id: 20504
components:
  responses:
    401-unauthorized:
      description: 'A business admin key is missing or invalid. A request header in the following format is needed to make the request:


        `Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE`'
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
          examples:
            default:
              value:
                error: You need to sign in or sign up before continuing.
  parameters:
    authorization-header:
      schema:
        type: string
        default: Bearer BUSINESS_ADMIN_KEY_GOES_HERE
      name: Authorization
      in: header
      description: 'Bearer token for admin authorization, who is making a call on behalf of the customer. Send the API key in the following format: "Authorization: Bearer BUSINESS_ADMIN_KEY_GOES_HERE".'
      required: true
x-stoplight:
  id: 9820bbd2e8ee1
x-ext-urls: {}