Get a list of sold_to_accounts

Method : GET

https://os.vucustom.com/api/v1/sold_to_accounts?updated_at_min=&limit&account_number

URL Parameters

Field Name
Description

updated_at_min

returns a list that was upated after this minimum value.

limit

Default and max 250 - The number of records to retrieve

account_number

filters all records based on the account number

Example Request
curl --location 'https://os.vucustom.com/api/v1/sold_to_accounts?updated_at_min=&limit&account_number'

200 Successful response example

{
    "sold_to_accounts": [
        {
            "account_number": "123",
            "address_1": "448 Test Street",
            "address_2": "",
            "alternate_name": "ATTN",
            "city": "Lawrence",
            "company_name": "",
            "country": "US",
            "created_at": "2022-10-31T01:54:56.271Z",
            "email": "test@test.com",
            "first_name": "John",
            "id": 12345,
            "last_name": "Doe",
            "phone": "(770) 210-4897",
            "postal_code": "66049",
            "ship_to_accounts": [
                {
                    "account_number": "123_sh",
                    "address_1": "448 Test Street",
                    "address_2": "",
                    "city": "Lawrence",
                    "company_name": "",
                    "country": "US",
                    "created_at": "2022-10-31T01:54:56.271Z",
                    "first_name": "John",
                    "id": 12345,
                    "last_name": "Doe",
                    "phone": "(770) 210-4897",
                    "postal_code": "66049",
                    "sold_to_account_number": "123",
                    "state_region": "Kansas",
                    "updated_at": "2022-10-31T01:54:56.271Z"
                }
            ],
            "state_region": "Kansas",
            "updated_at": "2022-10-31T01:54:56.271Z"
        }
    ]
}

Last updated