POST /products/{productId}/activate

Replaced by /batches/products/activate/[selected|all] endpoints.

Sets product and all of his variants to live stage. Any additionally created variants for activated product are visible immediately (activation status is tied to product).

Headers

  • X-Application-Name string

Path parameters

  • productId string Required

    Partner's product identifier

Query parameters

  • client_id string Required

    Client identifier

Responses

  • 200

    OK

    Hide headers attributes Show headers attributes
    • X-RateLimit-Limit string

      All available time windows applicable for request made, with the count of requests from smallest window as first value.

    • X-RateLimit-Remaining integer

      The smallest amount of requests left for the time window.

    • X-RateLimit-Reset integer

      Time in seconds until current window with lowest amount of requests resets

    Hide response attribute Show response attribute object
    • result object
      Hide result attributes Show result attributes object
      • code integer(int)
      • status string
POST /products/{productId}/activate
curl \
 -X POST https://mpapi.proxy.omnicado.com/v1/products/F192621/activate?client_id=yourClientId&client_id=api_token_value \
 -H "X-Application-Name: myApplicationName"
Response examples (200)
# Headers
X-RateLimit-Limit: 2875, 5750;w=86400;name="partner:my_client_id|domain:other|unit:d", 2875;w=3600;name="partner:my_client_id|domain:other|unit:h", 17250;w=60;name="partner:my_client_id|domain:other|unit:m"
X-RateLimit-Remaining: 2871
X-RateLimit-Reset: 3527

# Payload
{
  "result": {
    "code": 200,
    "status": "OK"
  }
}
Response examples (200)
# Headers
X-RateLimit-Limit: 2875, 5750;w=86400;name="partner:my_client_id|domain:other|unit:d", 2875;w=3600;name="partner:my_client_id|domain:other|unit:h", 17250;w=60;name="partner:my_client_id|domain:other|unit:m"
X-RateLimit-Remaining: 2871
X-RateLimit-Reset: 3527

# Payload
{
  "result": {
    "code": 200,
    "status": "OK"
  }
}