- The reason the 3rd party wants to use this functionality (what they plan to build on top of the API).
- The step-by-step process the user will follow to complete this scenario, including the specific endpoint/function they will use. Note: You can reference this doc for more REST examples.
<
For example:
- Import products - Use Create Product Endpoint
- Sign up for Order Created webhook
- When an order is made - find items, prepare packing slip and shipping label
- Collect [paramX, paramY, paramZ] from Webhook to call Get Order Endpoint
- Call Get Order Endpoint and collect [paramX, paramY, paramZ] for product info and to populate packing slip and shipping label
- Print packing slip and shipping label, package ordered items and ship them
- Notify Wix when order is dispatched, including tracking data - Use Create Fulfillment Endpoint
Create a custom product management page for a client, allowing them to create and update a product and insert it into a collection using the site only, without having to access the dashboard/business manager.
- Create a form for the product details
- Attach the createProduct() function to the form’s submit button
- Show the user the various collections and attach the addProductsToCollection() function to each collection name
- Show the user all the products and allow them to edit the product details with updateProductFields() function
>