Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

List locations

...

POST /apps/any/queries/read__qpt__list_locations
POST /apps/any/queries/read__qpt__list_locations

...

Response:

{'objects': [{'cnum_number': '8885552184',

'eml_email': 'debra63@example.com',

...

{'limit': '2', 'offset': '0'}
Response

Code Block
languagejson
{
    "objects": [
        {
            "cnum_number": "888-555-7381",
            "eml_email": "info@example.com",
            "ent_business_name

...

": "Pinogy Store",
            "ent_first_name

...

": "",
            "ent_last_name

...

": "",
            "ent_name

...

": "Pinogy Store",
            "ent_role_names

...

":

...

'entity_id': 4,

...

 [
                "Location"
            ],
            "entity_id": 4,
            "loc_addr_city

...

": "Herndon",
            "loc_addr_iso_code

...

": "VA",
            "loc_addr_postal_code

...

": "20170",
            "loc_address_1

...

": "123 Main Street",
            "loc_address_2

...

": "",
            "loc_available_publicly

...

":

...

 true,
            "loc_contact_numbers

...

":

...

'loc_emails': {'Office': 'debra63@example.com'},

...

 {
                "Office": "888-555-7381"
            },
            "loc_emails": {
                "Office": "info@example.com"
            },
            "loc_entity_id

...

": 4,

...


            "loc_is_enabled

...

":

...

 true,
            "loc_is_primary_store

...

":

...

 true,
            "loc_marketing_phone

...

":

...

 null,
            "loc_receipt_name

...

": "Pinogy Store",
            "loc_report_code

...

": "PS",
            "loc_safety_stock_min_sale_period

...

": 14,

...


            "loc_safety_stock_prod_without_sales

...

":

...

 true,
            "loc_show_regional

...

":

...

 true,
            "loc_slug

...

": "pinogy-store",
            "loc_social_media

...

": {

...

'loctz_timezone': 'US/Eastern',

'ppg_name': 'PrcGrp #1',

...


                "Facebook": "https://facebook.com/example",
                "Instagram": "https://instgram.com/mystore"
            },
            "loctz_timezone": "US/Eastern",
            "ppg_name": "PrcGrp #1",
            "product_pricing_group_id

...

": 1

...


        },
        {
            "cnum_number

...

'eml_email': 'sales@inpuppiesonline.com',

...

": "888-555-7381",
            "eml_email": "support@example.com",
            "ent_business_name

...

": "Warehouse Location",
            "ent_first_name

...

": "",
            "ent_last_name

...

": "",
            "ent_name

...

": "Warehouse Location",
            "ent_role_names

...

":

...

'entity_id': 7,

...

 [
                "Location",
                "Supplier",
                "Warehouse"
            ],
            "entity_id": 8,
            "loc_addr_city

...

": "Fairfield",
            "loc_addr_iso_code

...

": "VA",
            "loc_addr_postal_code

...

": "20170",
            "loc_address_1

...

": "123 Main Highway",
            "loc_address_2

...

": "",
            "loc_available_publicly

...

":

...

 false,
            "loc_contact_numbers

...

":

...

'Office': '765-427-4803'},

'loc_emails': {'Home': 'sales@inpuppiesonline.com'},

'loc_entity_id': 7,

'loc_is_enabled': True,

...

 {
                "Office": "888-555-7381"
            },
            "loc_emails": {
                "Office": "support@example.com"
            },
            "loc_entity_id": 8,
            "loc_is_enabled": true,
            "loc_is_primary_store

...

":

...

 false,
            "loc_marketing_phone

...

":

...

 null,
            "loc_receipt_name

...

": "Warehouse",
            "loc_report_code

...

": "WH",
            "loc_safety_stock_min_sale_period

...

":

...

 14,
            "loc_safety_stock_prod_without_sales

...

":

...

 true,
            "loc_show_regional

...

":

...

 true,
            "loc_slug

...

": "warehouse",
            "loc_social_media

...

":

...

'LinkedIn': 'http://linkedin.com'},

'loctz_timezone': 'US/Eastern',

'ppg_name': 'PrcGrp #1',

...

 {},
            "loctz_timezone": "US/Eastern",
            "ppg_name": "PrcGrp #1",
            "product_pricing_group_id

...

": 1
        }
    ],

...


    "total": 3
}