{
  "opencollection": "1.0.0",
  "info": {
    "name": "Shell B2B Mobility API",
    "version": "2.1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.shell.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Cards",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Cards",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.shell.com/mobility/v2/cards",
            "params": [
              {
                "name": "colCoCode",
                "value": "",
                "type": "query",
                "description": "Country code for the collecting company"
              },
              {
                "name": "payerNumber",
                "value": "",
                "type": "query",
                "description": "Payer account number"
              },
              {
                "name": "accountNumber",
                "value": "",
                "type": "query",
                "description": "Customer account number"
              },
              {
                "name": "cardStatus",
                "value": "",
                "type": "query",
                "description": "Filter cards by status"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of fuel cards associated with the B2B account."
        },
        {
          "info": {
            "name": "Order Card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.shell.com/mobility/v2/cards",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Places an order for a new fuel card."
        },
        {
          "info": {
            "name": "Get Card",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.shell.com/mobility/v2/cards/:cardId",
            "params": [
              {
                "name": "cardId",
                "value": "",
                "type": "path"
              },
              {
                "name": "colCoCode",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns details for a specific fuel card."
        },
        {
          "info": {
            "name": "Cancel Card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.shell.com/mobility/v2/cards/:cardId/cancel",
            "params": [
              {
                "name": "cardId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Cancels a fuel card."
        },
        {
          "info": {
            "name": "Block Card",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.shell.com/mobility/v2/cards/:cardId/block",
            "params": [
              {
                "name": "cardId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Blocks or unblocks a fuel card."
        }
      ]
    },
    {
      "info": {
        "name": "Transactions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Transactions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.shell.com/mobility/v2/transactions",
            "params": [
              {
                "name": "colCoCode",
                "value": "",
                "type": "query"
              },
              {
                "name": "payerNumber",
                "value": "",
                "type": "query"
              },
              {
                "name": "accountNumber",
                "value": "",
                "type": "query"
              },
              {
                "name": "cardPAN",
                "value": "",
                "type": "query",
                "description": "Card PAN to filter transactions"
              },
              {
                "name": "fromDate",
                "value": "",
                "type": "query",
                "description": "Start date for transaction search (YYYY-MM-DD)"
              },
              {
                "name": "toDate",
                "value": "",
                "type": "query",
                "description": "End date for transaction search (YYYY-MM-DD)"
              },
              {
                "name": "productCode",
                "value": "",
                "type": "query",
                "description": "Filter by fuel product code"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of fuel card transactions for the specified date range."
        },
        {
          "info": {
            "name": "Get Transaction",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.shell.com/mobility/v2/transactions/:transactionId",
            "params": [
              {
                "name": "transactionId",
                "value": "",
                "type": "path"
              },
              {
                "name": "colCoCode",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns details for a specific fuel card transaction."
        }
      ]
    },
    {
      "info": {
        "name": "Invoices",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Invoices",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.shell.com/mobility/v2/invoices",
            "params": [
              {
                "name": "colCoCode",
                "value": "",
                "type": "query"
              },
              {
                "name": "payerNumber",
                "value": "",
                "type": "query"
              },
              {
                "name": "accountNumber",
                "value": "",
                "type": "query"
              },
              {
                "name": "invoiceDateFrom",
                "value": "",
                "type": "query"
              },
              {
                "name": "invoiceDateTo",
                "value": "",
                "type": "query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of invoices for the B2B account."
        },
        {
          "info": {
            "name": "Get Invoice",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.shell.com/mobility/v2/invoices/:invoiceNumber",
            "params": [
              {
                "name": "invoiceNumber",
                "value": "",
                "type": "path"
              },
              {
                "name": "colCoCode",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a specific invoice."
        }
      ]
    },
    {
      "info": {
        "name": "Sites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Sites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.shell.com/mobility/v2/sites",
            "params": [
              {
                "name": "latitude",
                "value": "",
                "type": "query",
                "description": "Latitude coordinate for location-based search"
              },
              {
                "name": "longitude",
                "value": "",
                "type": "query",
                "description": "Longitude coordinate for location-based search"
              },
              {
                "name": "radius",
                "value": "",
                "type": "query",
                "description": "Search radius in kilometers"
              },
              {
                "name": "countryCode",
                "value": "",
                "type": "query",
                "description": "ISO 2-letter country code"
              },
              {
                "name": "fuelType",
                "value": "",
                "type": "query",
                "description": "Filter by fuel type"
              },
              {
                "name": "evCharging",
                "value": "",
                "type": "query",
                "description": "Filter for EV charging available sites"
              },
              {
                "name": "page",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of Shell fuel and EV charging sites matching the specified criteria."
        },
        {
          "info": {
            "name": "Get Site",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.shell.com/mobility/v2/sites/:siteId",
            "params": [
              {
                "name": "siteId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns details for a specific Shell site."
        }
      ]
    },
    {
      "info": {
        "name": "Limits",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Update Card Limits",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.shell.com/mobility/v2/limits",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates spending limits and restrictions for fuel cards."
        }
      ]
    }
  ],
  "bundled": true
}