---
title: "Update a goal given its public identifier"
method: PUT
path: "/goals/{public_id}"
tags: ["goals"]
---

# Update a goal given its public identifier

`PUT /goals/{public_id}`

## Request

- Base URL: `https://api.autron.ai`
- URL: `https://api.autron.ai/goals/{public_id}`
- Auth: API key in header `Authorization`

A global goal may carry ``product_asins`` (list): the reviewed set of
products to run — chosen ones come on (created from the catalog where
no product goal exists yet), every other product goal goes off, brand
goals mirror. An empty list turns every product off with the global
staying as sent. Without it the legacy cascade applies.

## Request body

- Goal
  - `public_id` string: unique goal public id
  - `objective` string: goal objective, options: maximize_sales, maximize_profit
  - `strategy` string, nullable: goal strategy, options: minimum_net_profit, maximum_acos, maximum_daily_budget
  - `strategy_value` number, nullable: goal strategy target/constraint value
  - `type` string: goal type, options: global, product, campaign
  - `product_asin` string: associated asin for goals of type product
  - `product_name` string: associated name for goals of type product
  - `product_sku` string: associated sku for goals of type product
  - `product_price` string: associated price for goals of type product
  - `product_profit` string: associated profit for goals of type product
  - `product_your_price` string: associated your price for goals of type product
  - `product_public_id` string: product public id
  - `product_parent_asin` string: asin of parent product if product is child variant
  - `state` string: goal state, options: enabled, disabled, archived
  - `use_global_public_id` string, nullable: global goal public id for product goals which use global settings
  - `seller_selling_partner_id` string: goal amazon seller id
  - `marketplace_marketplace_id` string: goal amazon marketplace id
  - `profile_profile_id` integer: goal amazon advertiser profile id
  - `campaign_type` string: amazon campaign types associated with goal
  - `turbo_mode` string: goal turbo_mode, options: enabled, disabled, archived
  - `product_total_cost` number, nullable: associated total cost for goals of type product
  - `product_estimated_fee_total` number, nullable: associated total amazon fee for goals of type product
  - `product_targets` object
  - `product_group` string: listing product group
  - `product_type` string: listing product type
  - `product_type_keyword` string: listing product type keyword
  - `product_sales_ranks` object: amazon catalog product sales ranks
  - `created_at` string, date-time: goal creation timestamp
  - `updated_at` string, date-time: goal last updated timestamp
  - `product_brand` string: listing product brand

## Response `200`

Success

---

[API](https://skmtc.dev/autron/apis/autron-api.md) · [All operations](https://skmtc.dev/autron/apis/autron-api/llms.txt) · [OpenAPI document](https://skmtc.dev/autron/apis/autron-api/revisions/f696bfa7295f?raw)
