Addresses

CREATE An Address

Create an address

POST https://api.gorider.co/v1/addresses

Creates a new pet.

Request Body

Name
Type
Description

name*

string

The name of the pet

owner_id

string

The id of the user who owns the pet

species

string

The species of the pet

breed

string

The breed of the pet

{
    "name"="Wilson",
    "owner": {
        "id": "sha7891bikojbkreuy",
        "name": "Samuel Passet",
    "species": "Dog",}
    "breed": "Golden Retriever",
}
curl https://api.gorider.co/v1/addresses?client_id={client_id}&client_secret_id={client_secret_id}
    -H "Authorization: Bearer {token}"

GET Addresses

GET

Query Parameters

Name
Type
Description

String

Or use directly the GoRider client available on node.js

curl https://api.gorider.co/v1/addresses?client_id={client_id}&client_secret_id={client_secret_id}
    -H "Authorization: Bearer {token}"

GET Main (default) Address

GET

Or use directly the GoRider client available on node.js

curl https://api.gorider.co/v1/delivery/pricing?client_id={client_id}&client_secret_id={client_secret_id}&departure="10 rue du paradis, 75010"&arrival="121 rue du faubourg saint-denis, 75010"
    -H "Authorization: Bearer {token}"

UPDATE An Address

Update an address

PUT https://api.gorider.co/v1/addresses/:addressId

curl https://api.gorider.co/v1/delivery/pricing?client_id={client_id}&client_secret_id={client_secret_id}&departure="10 rue du paradis, 75010"&arrival="121 rue du faubourg saint-denis, 75010"
    -H "Authorization: Bearer {token}"

DELETE An Address

POST

curl https://api.gorider.co/v1/delivery/pricing?client_id={client_id}&client_secret_id={client_secret_id}&departure="10 rue du paradis, 75010"&arrival="121 rue du faubourg saint-denis, 75010"
    -H "Authorization: Bearer {token}"

Last updated