Should you notice any errors in our documentation, please don’t hesitate to contact us. Thank you!
Attribute Name | Meaning |
---|---|
name | Name of merchant network |
merchant_ids | Subset of merchant ids that are part of the network |
ecommerce_merchant_ids | Subset of ecommerce merchants that are part of the network |
name | type | default | info |
---|---|---|---|
sort | string | NONE | OPTIONAL, defaults to created_at |
skip_meta_totals | boolean | false | OPTIONAL, defaults to false |
page[number] integer/string | 1 | OPTIONAL, defaults to 1 | |
page[size] | integer/string | 25 | OPTIONAL, default page size is 25, max page size is 250 |
{
"meta": {
"total_pages": 0,
"current_page": 0,
"page_size": 0,
"total_entries": 0
},
"data": [
{
id: "string",
created_at: "2019-08-24T14:15:22Z",
updated_at: "2019-08-24T14:15:22Z",
name: "string",
description: "string",
customer: {
type: "customer",
id: "string",
name: "string",
number: "string"
},
merchant_count: 7,
ecommerce_merchant_count: 13
}
],
"links": {
"self": "http://example.com",
"first": "http://example.com",
"prev": "http://example.com",
"next": "http://example.com",
"last": "http://example.com"
}
}
curl --location -g --request GET 'https://www-staging.givve.com/api/merchant_networks?sort=created_at&skip_meta_totals=&page[number]=1&page[size]=25' \
--header 'Authorization: Bearer ' \
--header 'Accept-Version: v2' \
--header 'Content-Type: text/csv'
{}