Get a Custom API Entry using the extensions endpoint
GEThttps://useast.api.elasticpath.com/v2/extensions/:custom_api_slug/:custom_api_entry_id
Get a Custom API Entry using the extensions endpoint
Request
Responses
- 200
- 400
- 403
- 404
- 500
OK
Response Headers
Bad request. The request failed validation.
Forbidden. You do not have permission to access this resource.
Not found. The requested entity does not exist.
Internal server error. There was a system failure in the platform.
Authorization: http
name: bearerAuthtype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "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 response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear