Skip to main content

Update a Custom API Entry using the extensions endpoint

PUT 

https://useast.api.elasticpath.com/v2/extensions/:custom_api_slug/:custom_api_entry_id

Update a Custom API Entry using the extensions endpoint

Request

Responses

OK

Response Headers
    ETag

    A unique identifier representing the current version of the resource. When the resource changes, the ETag value will also change.

Authorization: http

name: bearerAuthtype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://useast.api.elasticpath.com/v2/extensions/:custom_api_slug/:custom_api_entry_id");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent("{\n \"data\": {\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://useast.api.elasticpath.com
Auth
Parameters
— pathrequired
— pathrequired
— header
Body
{
  "data": {
    "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.