pi3o1416
pi3o1416

Reputation: 96

Is there any way to Delete and update Facebook product catalog product with Facebook Graph API

I am trying to to Update and Delete product to facebook product catalog with graph api.

I followed this documentation but this endpoint only allow read and create new product to a product catalog but update and delete is not possible from this endpoint. Is it possible to do??

Upvotes: 0

Views: 473

Answers (1)

spyderman4g63
spyderman4g63

Reputation: 4319

The documentation here is a bit confusing. There is an older endpoint for /batch. This is a legacy endpoint, but the documentation here might help you craft a payload for the new endpoint.

The items_batch endpoint should be the most up-to-date endpoint for these operations.

The autogenerated documentation claims that it doesn't support update or delete, however it should actually support CREATE, UPDATE, and DELETE.

I believe that you pass it a JSON object containing multiple product items and the CRUD verb.

Upvotes: 0

Related Questions