add_commerce_observation
Record one competitor price observation by hand, for the pipeline to match against your catalog: a competitor's observed price for a product. The cycle usually collects these itself. Needs a Last Price credential with commerce configure scope. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | The source record, kept with the observation. | |
| gtin | No | The product GTIN, used to match it to a catalog item. | |
| title | No | The product title as the competitor shows it. | |
| source | Yes | Where the price came from, such as manual or the name of your scraper. | |
| currency | Yes | The currency code, such as USD. | |
| competitor | Yes | The competitor's name. | |
| external_id | No | The competitor's own id for the product. | |
| marketplace | No | Where the competitor sells it. | |
| observed_at | No | When it was seen. Defaults to now. | |
| observed_price | Yes | The price seen. | |
| source_confidence | No | How far to trust the source, 0 to 1. |