Skip to main content

Update businesses attributes

POST 

https://api.staging.powerapi.com/api/v2/businesses/:business_id/google/attributes

This endpoint allows you to set Google attributes for your business.

Request

Path Parameters

    business_id stringrequired

Body arrayrequired

  • Array [
  • id stringrequired

    Attribute ID

    Example: pay_debit_card
    data objectrequired
    anyOf
    type stringrequired

    Possible values: [BOOL]

    value booleannullable
  • ]

Responses

Authorization: http

name: bearertype: httpscheme: bearerbearerFormat: JWT
curl -L 'https://api.staging.powerapi.com/api/v2/businesses/:business_id/google/attributes' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '[
{
"id": "pay_debit_card",
"data": {
"type": "BOOL",
"value": true
}
}
]'
Request Collapse all
Base URL
https://api.staging.powerapi.com
Auth
Parameters
— pathrequired
Body required
[
  {
    "id": "pay_debit_card",
    "data": {
      "type": "BOOL",
      "value": true
    }
  }
]
ResponseClear

Click the Send API Request button above and see the response here!