Update product offerings
POST/api/v1/sai/upsells
Replaces the complete set of product offerings SAI can recommend for your business and returns the count of offerings saved. productOfferingsJson must be a JSON string encoding an array of offering objects; each offering requires id, name, and longDescription and is stored with type set to product. Send an empty string or an empty array to remove all offerings, which reverts SAI to the default SiPhox catalog; removal returns only a confirmation message, without a count. Read the current set back with GET /api/v1/sai/upsells.
Request
Responses
- 200
- 400
- 401
- 500
Product offerings updated successfully
Validation failed or invalid JSON
Business key not found
Internal server error