Skip to main content

Update an Entry

PUT 

https://euwest.api.elasticpath.com/v2/flows/:flowSlug/entries/:flowEntryID

  • For Commerce, this endpoint updates an entry for a flow.
  • For Product Experience Manager, this endpoint updates an entry for a template.

Request

Responses

OK

Response Headers

    Authorization: http

    name: bearerAuthtype: httpscheme: bearer
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Put, "https://euwest.api.elasticpath.com/v2/flows/:flowSlug/entries/:flowEntryID");
    request.Headers.Add("Accept", "application/json");
    request.Headers.Add("Authorization", "Bearer <token>");
    var content = new StringContent("{\n \"data\": {\n \"FIELD1_SLUG\": \"string\",\n \"FIELD2_SLUG\": \"string\",\n \"id\": \"00000000-0000-0000-0000-000000000000\",\n \"type\": \"string\"\n }\n}", null, "application/json");
    request.Content = content;
    var response = await client.SendAsync(request);
    response.EnsureSuccessStatusCode();
    Console.WriteLine(await response.Content.ReadAsStringAsync());
    Request Collapse all
    Base URL
    https://euwest.api.elasticpath.com
    Auth
    Parameters
    — pathrequired
    — pathrequired
    Body required
    {
      "data": {
        "FIELD1_SLUG": "string",
        "FIELD2_SLUG": "string",
        "id": "00000000-0000-0000-0000-000000000000",
        "type": "string"
      }
    }
    
    ResponseClear

    Click the Send API Request button above and see the response here!

    We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.