Response [200 Ok]

Uri /api/v2/cart!billingaddress
UriDescription Billing Address
EndpointType BillingAddress
Locator BillingAddress
LocatorType Object

BillingAddress [1 of 1]
/api/v2/cart!billingaddress

Uri /api/v2/cart!billingaddress
UriDescription Billing Address
City empty string
Country empty string
Email empty string
FirstName empty string
LastName empty string
Phone empty string
State empty string
Street1 empty string
Street2 empty string
Zip empty string

Timing

Total

cycles 1
objects 0
time 0.02984

Request

Uri /api/v2/cart!billingaddress
Method GET
Version v2

Config

{
    "expand_method": "ref",
    "shorturis": false
}

Options

Methods

OPTIONS

Permissions
  • Read

GET

Permissions
  • Read

POST

Permissions
  • Modify

DELETE

Permissions
  • Modify

Parameters

POST

DELETE

Output Fields

City text
Country text
Email text
FirstName text
LastName text
Phone text
State text
Street1 text
Street2 text
Zip text

JSON

{
    "Request": {
        "Version": "v2",
        "Method": "GET",
        "Uri": "/api/v2/cart!billingaddress"
    },
    "Options": {
        "MethodDetails": {
            "OPTIONS": {
                "Permissions": [
                    "Read"
                ]
            },
            "GET": {
                "Permissions": [
                    "Read"
                ]
            },
            "POST": {
                "Permissions": [
                    "Modify"
                ]
            },
            "DELETE": {
                "Permissions": [
                    "Modify"
                ]
            }
        },
        "Methods": [
            "OPTIONS",
            "GET",
            "POST",
            "DELETE"
        ],
        "ParameterDescription": {
            "Varchar": "Variable length text from MIN_CHARS to MAX_CHARS (MAX_CHARS = INFINITY meaning arbitrary length)",
            "PhoneNumber": "U.S. phone numbers.",
            "Uri": "Absolute or relative URL, restricted to Locator(s) of the supplied URL if not null.   Up to a MAX_LENGTH in length.",
            "Email": "Email address of the form RECIPIENT@DOMAIN"
        },
        "Parameters": {
            "POST": [
                {
                    "Name": "FirstName",
                    "Required": true,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "Varchar",
                    "MIN_CHARS": 0,
                    "MAX_CHARS": 50
                },
                {
                    "Name": "LastName",
                    "Required": true,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "Varchar",
                    "MIN_CHARS": 0,
                    "MAX_CHARS": 50
                },
                {
                    "Name": "Phone",
                    "Required": true,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "PhoneNumber"
                },
                {
                    "Name": "AddressUri",
                    "Required": true,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "Uri",
                    "MAX_LENGTH": "INFINITY",
                    "Locator": [
                        "Address"
                    ]
                },
                {
                    "Name": "Email",
                    "Required": true,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "Email",
                    "MIN_CHARS": 0,
                    "MAX_CHARS": 100
                }
            ],
            "DELETE": []
        },
        "MediaTypes": [
            "application/json",
            "application/vnd.php.serialized",
            "application/x-msgpack",
            "text/html",
            "text/csv"
        ],
        "Output": [
            {
                "Name": "FirstName",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 50
            },
            {
                "Name": "LastName",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 50
            },
            {
                "Name": "Phone",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 15
            },
            {
                "Name": "Street1",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 40
            },
            {
                "Name": "Street2",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 40
            },
            {
                "Name": "City",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 25
            },
            {
                "Name": "State",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 20
            },
            {
                "Name": "Zip",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 10
            },
            {
                "Name": "Country",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 20
            },
            {
                "Name": "Email",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 100
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/cart!billingaddress",
        "Locator": "BillingAddress",
        "LocatorType": "Object",
        "BillingAddress": {
            "FirstName": "",
            "LastName": "",
            "Phone": "",
            "Street1": "",
            "Street2": "",
            "City": "",
            "Zip": "",
            "State": "",
            "Country": "",
            "Email": "",
            "Uri": "/api/v2/cart!billingaddress",
            "UriDescription": "Billing Address"
        },
        "UriDescription": "Billing Address",
        "EndpointType": "BillingAddress",
        "Timing": {
            "Total": {
                "time": 0.02984,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}