PATCH endpoint to only update few properties on a Flotiq object

Launched
Anonymous

Be able to call a PATCH endpoint with only few fields to make a partial update of a Flotiq object

ISS#21281

11 months ago

Activity
Flotiq changed status to Launched

6 months ago

Flotiq changed status to 🛠 Planned

6 months ago

Flotiq

Hey there! Check the Flotiq docs now,

https://flotiq.com/docs/API/content-type/updating-co/

What's useful about PATCH

Using PATCH to update an object, you don't have to send Flotiq the whole object, all properties, but only those you want to change, for example.

If you want to change the product's price, only the price, you have to send the entire object content using PUT.

Which creates problems

  • You can omit some elements, and then you will break the object.
  • You must have the entire object on the script (code) side to be able to resubmit it with a changed price.

Using PATCH, you can upload just what you need to change.

Hope you will enjoy our update 😀

0    6 months ago    Reply

Flotiq

Hey, we added this to our board, and when it is ready, we will notify you here

0    9 months ago    Reply

5 votes
Categories
Feature
⚡️ by ProductLift