Actions119
- Products Actions
- Categories Actions
- Customers Actions
- Customer Groups Actions
- Agents Actions
- Contacts Actions
- Orders Actions
- Offers Actions
- Preorders Actions
- Payment Methods Actions
- Pricelists Actions
- Product Units Actions
- Product Types Actions
- Tags Actions
- Tag Types Actions
- Tax Rates Actions
- Reorder Reminders Actions
- Prospects Actions
- Activities Actions
- Statistics Actions
Offers → Update
AI-generatedSummary
Updates an existing Shop API offer by sending the supplied JSON fields in a PUT request to /v1/offers/{id}.
Inputs
- Id (required) — The ID of the offer to update.
- Fields (required) — A JSON object containing the offer fields to send in the update request. Defaults to
{ }.
Output shape
A single item containing the API response as JSON.
The response is returned as an empty object if the API returns no body. The Fields value must be valid JSON.
Examples
Example 1: Update an offer's details
Set Id to the offer ID and Fields to a JSON object with the properties to update.