Skip to content

Update application facebook partner

PUT
/api/v2/client/partners/facebook/{facebookPartner_id}
curl --request PUT \
--url https://app.affisemmp.com/api/v2/client/partners/facebook/16 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "partner_id": 16, "fb_account_id": "137449171671936806", "fb_pixel_access_token": "z" }'
facebookPartner_id
required
integer

The ID of the facebookPartner.

Example
16
Media type application/json
object
partner_id
required

The id of an existing record in the partners table.

integer
Example
16
fb_account_id
required

Must be between 15 and 20 digits.

string
Example
137449171671936806
fb_pixel_access_token

Must not be greater than 255 characters.

string
nullable
Example
z
Media type application/json
object
message
string
Example
{
"message": "Partner`s facebook settings successfully updated."
}