1. Store
Wazapi
  • Raiz
    • Channels
      • List messaging channels
      • List channel events
      • Retire or un-retire a channel
    • Contacts
      • List contacts
      • Create a contact
      • Get a contact
      • Update a contact
      • Block a contact
      • Unblock a contact
      • Create or update a contact by external ID
      • List custom field definitions
      • Create a custom field definition
      • Update a custom field definition
      • Read conversation panel configuration
      • Update conversation panel configuration
      • Read unanswered conversation mode
      • Set unanswered conversation mode
      • Read ownerless conversation fallback
      • Configure ownerless conversation fallback
      • Preview or apply fallback to current ownerless stock
    • Flows
      • List flows
      • Get a flow
      • Start a flow execution
    • Templates
      • List WhatsApp templates
      • Get a WhatsApp template by name
      • Create an authentication template
    • Messages
      • Send a WhatsApp message
      • List messages in a conversation
      • React to a conversation message
    • Operations
      • Get an asynchronous operation
    • Conversations
      • List conversations
      • Get a conversation
      • Read a conversation select list
      • Replace a conversation select list
      • Patch conversation custom field values
    • Webhooks
      • Receive an event from Wazapi
      • List the integration webhooks
      • Register a webhook
      • Replace a webhook URL and events
      • Delete a webhook
      • Rotate a webhook signing secret
      • Send a test event
    • Store
      • Get the store summary
        GET
      • List store products
        GET
      • Create a store product
        POST
      • Create or update store products in batch
        POST
      • Get a store product
        GET
      • Update a store product
        PATCH
      • Delete a store product
        DELETE
      • List store categories
        GET
      • Create a store category
        POST
      • Update a store category
        PATCH
      • Delete a store category
        DELETE
      • List store orders
        GET
      • Create a store order
        POST
      • Get a store order
        GET
      • Transition an order status
        POST
      • List coupons
        GET
      • Create coupon
        POST
      • Replace coupon using current version
        PUT
      • Read agent discount policy
        GET
      • Replace agent discount policy
        PUT
      • List shipping options
        GET
    • CRM
      • List CRM stages
      • Create a CRM stage
      • Update a CRM stage
      • Delete a CRM stage
      • Reorder the stages of a board
      • List CRM opportunities
      • Create a CRM opportunity
      • Get a CRM opportunity
      • Update or move a CRM opportunity
      • Archive a CRM opportunity
      • Upsert a CRM opportunity by external ID
      • Upsert up to 100 CRM opportunities
    • Groups
      • List support groups
      • Get a support group
      • Update group waiting and distribution options
      • Read daily group distribution report
    • Entries
      • Read company entry settings
      • Update company entry settings
      • Read flows entries
      • Update flows entries
      • Read keywords entries
      • Update keywords entries
      • Read ai-agents entries
      • Update ai-agents entries
    • Automation settings
      • Read the stalled bot watchdog settings
      • Configure the stalled bot watchdog
    • Settings
      • Preview or recalculate team waiting markers
    • Knowledge
      • List knowledge sources without secrets
      • Create authenticated URL knowledge source
      • Update URL source configuration
      • Queue forced URL reread (may spend embeddings)
    • AI summaries
      • getAiSummarySettings
      • updateAiSummarySettings
      • getAiSummaryCosts
      • Preview a paid AI summary without operational writes
    • AI agents
      • Read AI usage and estimated cost by agent and day
      • List live company queries without credentials
      • Create a fixed HTTPS company query
      • Update a live company query
      • Delete query and remove it from company agents
      • Test GET without AI; also accepts inactive queries
      • Read agent configuration including allowed queries
      • Set agent query allowlist; empty list removes permissions
      • List reply guard rules
      • Create an ensaio reply guard rule
      • Patch reply guard rule
      • List reply guard hits
    • AI duty
      • Read AI duty settings
      • Replace AI duty settings
      • Preview or dismiss open AI seller tasks in bulk
  • Esquemas
    • PaginationMeta
    • KnowledgeUrlCreate
    • KnowledgeUrlPatch
    • Contact
    • KnowledgeSource
    • KnowledgeSourceResult
    • KnowledgeSourceList
    • Conversation
    • Channel
    • Flow
    • Template
    • Recipient
    • Message
    • ContactWrite
    • Operation
    • WebhookEventType
    • Error
    • WebhookEvent
    • WebhookTracking
    • MessageReceivedData
    • MessageStatusUpdatedData
    • MessageRequest
    • message.transcribed
    • MessageTranscribedData
    • message.updated
    • MessageUpdatedData
    • message.deleted
    • MessageDeletedData
    • MessageDeliveryError
    • ConversationCreatedData
    • ConversationUpdatedData
    • FlowExecutionUpdatedData
    • WebhookTestData
    • message.received
    • message.status.updated
    • conversation.created
    • conversation.updated
    • flow.execution.updated
    • webhook.test
    • ConversationDetail
    • StoreProductVariant
    • StoreOrderItem
    • StoreSummary
    • StoreProduct
    • StoreProductBatchResult
    • StoreProductWrite
    • order.created
    • StoreOrder
    • StoreCategory
    • StoreOrderPayment
    • StoreCategoryWrite
    • StoreOrderAgent
    • StoreCategoryPatch
    • OrderCreatedData
    • DiscountRules
    • StoreCouponInput
    • StoreProductPatch
    • StoreCoupon
    • AgentDiscountPolicyInput
    • OrderStatusUpdatedData
    • TemplateSendComponents
    • order.status.updated
    • StoreShippingOption
    • StoreOrderCreate
    • ContactTracking
    • CrmStage
    • CrmStageWrite
    • CrmStagePatch
    • CrmOpportunity
    • CrmOpportunityWrite
    • CrmOpportunityPatch
    • CrmOpportunityEventData
    • crm.opportunity.created
    • crm.opportunity.updated
    • crm.opportunity.stage_changed
    • crm.opportunity.archived
    • ConversationWebhookSnapshot
    • ConversationAssignedData
    • ConversationStatusChangedData
    • conversation.assigned
    • conversation.status_changed
    • ConversationWebhookActor
    • ConversationPanel
    • FieldOption
    • SupportGroup
    • FieldOptions
    • SupportGroupWaitPatch
    • FieldOptionsPatch
    • CustomFieldDefinition
    • CustomFieldCreate
    • CustomFieldPatch
    • ConversationFieldSnapshot
    • ConversationSelectSnapshot
    • ConversationFieldChange
    • conversation.fields_changed
    • ConversationFieldOptions
    • ConversationPanelPatch
    • ConversationFieldActor
    • EntryKind
    • EntrySettings
    • ConversationFieldsChangedData
    • CrmOpportunityUpsert
    • GroupDistributionReport
    • CrmOpportunityUpsertItem
    • CrmOpportunityUpsertResult
    • CrmOpportunityUpsertBatchResult
    • FlowEntries
    • StaleSessionSettings
    • StaleSessionSettingsPatch
    • MessageQuoteContext
    • TeamReplyRecalculation
    • InboxResponseSettings
    • OwnerlessFallbackPatch
    • OwnerlessFallbackSettings
    • OwnerlessFallbackApplication
    • AiSummarySettings
    • AiSummarySettingsPatch
    • AiSummaryUsage
    • AiSummaryCostReport
    • conversation.status_changed
    • AiAgentUsageDay
    • AiAgentUsage
    • ChannelActor
    • ChannelEvent
    • ChannelEventPage
    • ChannelAccountRejection
    • channel.status_changed
    • channel.account_status_changed
    • FlowMonitoringRule
    • EffectiveFlowMonitoringRule
    • MessageReactionResult
    • CompanyQueryParameter
    • CompanyQueryCreate
    • CompanyQueryPatch
    • CompanyQueryResult
    • CompanyQuery
    • CompanyQueryList
    • CompanyQueryTestResult
    • CompanyQueryTestInput
    • AiAgentQueryPatch
    • AiAgentQueryResult
    • CompanyQueryDeleteResult
    • ReplyGuardRuleCreate
    • ReplyGuardRulePatch
    • ReplyGuardRule
    • ReplyGuardRules
    • ReplyGuardSaved
    • ReplyGuardHit
    • ReplyGuardHits
    • ChannelRetirement
    • ChannelRetirementResult
    • AiDutySettingsResponse
    • AiDutySettings
    • WebhookEndpointWrite
    • WebhookEndpoint
    • WebhookEndpointWithSecret
    • MessageSendFailedData
    • message.send.failed
    • AiDutyPlantao
    • conversation.fields.updated
    • FieldMirror
    • ConversationFieldsUpdatedData
    • AiDutyDailyTriggerCounters
    • RateLimitError
    • AiDutySettingsRead
    • TemplateCreateRequest
    • QueuePolicy
    • QueuePolicyPatch
    • DismissAiSuggestionsInput
    • DismissAiSuggestionsResult
  1. Store

Update a store product

PATCH
/store/products/{product_uuid}
Partial update since API 1.6: omitted fields keep their current value (before 1.6 they were reset to their defaults, which reactivated the product and deleted its variants). variants, when sent, replaces the list.

Requisição

Parâmetros de Caminho

Parâmetros Bodyapplication/jsonNecessário

Examples

Respostas

🟢200OK
application/json
Store product response
Bodyapplication/json

🟠401Não Autorizado
🟠403Proibido
🟠404Registo Não Encontrado
🟠422Erro de Parâmetro
🟠429
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/store/products/' \
--header 'Content-Type: application/json' \
--data '{
    "name": "string",
    "description": "string",
    "category_uuid": "d5e0e6e9-d809-4adf-9920-3a698629ce74",
    "category_external_id": "string",
    "price_cents": 0,
    "promo_price_cents": 0,
    "highlighted": true,
    "track_stock": true,
    "stock": 0,
    "active": true,
    "position": 0,
    "import_handle": "string",
    "external_id": "string",
    "variants": [
        {
            "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
            "label": "string",
            "price_cents": 0,
            "stock": 0,
            "active": true
        }
    ],
    "image_urls": [
        "http://example.com"
    ],
    "installments_max": 1,
    "min_installment_cents": 0,
    "listed": true
}'
Response Response Example
200 - Exemplo 1
{
    "data": {
        "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
        "name": "string",
        "description": "string",
        "category_uuid": "d5e0e6e9-d809-4adf-9920-3a698629ce74",
        "price_cents": 0,
        "promo_price_cents": 0,
        "effective_price_cents": 0,
        "images": [
            "string"
        ],
        "highlighted": true,
        "track_stock": true,
        "stock": 0,
        "active": true,
        "position": 0,
        "import_handle": "string",
        "external_id": "string",
        "variants": [
            {
                "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
                "label": "string",
                "price_cents": 0,
                "stock": 0,
                "active": true,
                "position": 0
            }
        ],
        "created_at": "2019-08-24T14:15:22.123Z",
        "updated_at": "2019-08-24T14:15:22.123Z",
        "installments_max": 1,
        "min_installment_cents": 0,
        "listed": true
    }
}
Modificado em 2026-10-22 18:13:52
Página anterior
Get a store product
Próxima página
Delete a store product
Built with