integrations
Resource: integration
This link relationship returns a collection of integrations. You can paginate through this collection using the hypermedia links provided and the link relationships of first, prev, next, and last.
To add an access token for working with the Hypermedia API, make a POST request with a project_name (required), project_description and scope. The new integration can't have more access than the token that creates it: without a scope, it gets that token's store scopes. All users with access to this store will be able to view and/or remove this integration entry. Other values will be automatically generated for you. After creation you will get client_id, client_secret, access_token and refresh_token.
Required Scopes How scopes work →
Collection Resource
integrationActions
Properties (5)
_embedded Object · Read-only Contains fx:integrations[] — array of integration resources
total_items String · Read-only Total number of resources in this collection.
returned_items Number · Read-only Number of resources returned in this page.
limit Number · Read-only Maximum number of resources per page.
offset Number · Read-only Number of resources skipped.
Link Relations (5)
self This Collection first First Page of this Collection prev Previous Page of this Collection next Next Page of this Collection last Last Page of this Collection Example Representation
{
"_links": {
"curies": [
{
"name": "fx",
"href": "https://api.foxycart.com/rels/{rel}",
"templated": true
}
],
"self": {
"href": "https://api.foxycart.com/stores/123/integrations",
"title": "This Collection"
},
"first": {
"href": "https://api.foxycart.com/stores/123/integrations?offset=0",
"title": "First Page of this Collection"
},
"prev": {
"href": "https://api.foxycart.com/stores/123/integrations?offset=0",
"title": "Previous Page of this Collection"
},
"next": {
"href": "https://api.foxycart.com/stores/123/integrations?offset=20",
"title": "Next Page of this Collection"
},
"last": {
"href": "https://api.foxycart.com/stores/123/integrations?offset=20",
"title": "Last Page of this Collection"
}
},
"_embedded": {
"fx:integrations": [
{
"_links": {
"curies": [
{
"name": "fx",
"href": "https://api.foxycart.com/rels/{rel}",
"templated": true
}
],
"self": {
"href": "https://api.foxycart.com/integrations/456",
"title": "This OAuth Integration"
},
"fx:store": {
"href": "https://api.foxycart.com/stores/456",
"title": "This Store"
},
"fx:user": {
"href": "https://api.foxycart.com/users/999",
"title": "This User"
},
"fx:client": {
"href": "https://api.foxycart.com/clients/999",
"title": "This Client"
}
},
"user_uri": "https://api.foxycart.com/users/92",
"client_id": "super_duper_client_id",
"scope": "user_full_access store_full_access store_id_66",
"expires": 1752787287,
"project_name": "My Super Project",
"project_description": "A really cool project you should be excited about.",
"company_name": "FoxyCart",
"company_url": "http://www.foxycart.com",
"company_logo": "http://www.foxycart.com/assets/templates/v02/slices/foxycart-seo-ecommerce.png",
"contact_name": "Mr. Example",
"contact_email": "example@example.com",
"added_by_name": "First Last",
"added_by_email": "someone@example.com"
}
]
},
"total_items": 1,
"returned_items": 1,
"limit": 20,
"offset": 0
}