HTTP methods
PartsSource APIs use standard HTTP methods to interact with endpoints. The following table lists the available HTTP methods and shows examples of endpoints these methods can be used with.
HTTP method
Description
GET
Retrieves a resource representation without modifying it.
Example:
/orders
returns all available orders
POST
Creates a resource.
Example:
/orders
creates an order
PUT
Updates a resource. If the resource does not exist yet, this method creates it.
Example:
/orders/{orderId}/custom-properties
sets custom properties data for an order with the specified ID
PATCH
Makes a partial update on a resource. Does not replace the entire resource.
Example:
/orders/{orderId}
updates properties of the order with a given ID
DELETE
Removes a resource.
Example:
/order/{orderId}
deletes the order with a given ID
Last updated

