api/v1/customer/{id}/my-allowed-stores

GET

/api/v1/customer/{id}/my-allowed-stores

This API method will grab a list of valid stores which you can share with the member passed in the {id} of the URL.

Sample Request body

Nothing required

Sample Response

{
  "status": true,
  "items": [
    {
      "id": "xy7bXBgZeM54eN391JoV",
      "company": "Bobs Mattress",
      "slug": "bobs-mattress",
      "sc_company": 0,
      "phone": "(111) 111-1111",
      "address": "123 Address Line",
      "city": "King City",
      "state": "MI",
      "zip": "11443",
      "created_at": "2018-03-16 18:02:25",
      "updated_at": "2018-08-27 13:54:32",
      "loyalty_options": {
        "id": "r6Y9qlR4mBKyzK7nNOGx",
        "chain_display_name": "",
        "description": "",
        "point_conversion": 1000,
        "team_breakdown": {
          "level_1": "50",
          "level_2": "25",
          "level_3": "15",
          "level_4": "10",
          "level_5": "5"
        },
        "chain_active": 1,
        "selected_proof_165_id": null,
        "selected_proof_323_id": null,
        "selected_proof_258_id": null,
        "selected_proof_212_id": null,
        "sign_up_bonus_points": "0.00",
        "referral_bonus_points": "0.00",
        "inactivity_months": 4,
        "participate_in_offer": 0,
        "default_cash_tender_multiplier": "1.00",
        "default_non_cash_tender_multiplier": "1.00",
        "default_allow_cash_tender": 0,
        "default_allow_non_cash_tender": 0,
        "campaign_for_points_redemption": "Redemption",
        "chain_logo": "",
        "chain_background": "#00e35a",
        "campaign_require_register": 0,
        "early_registration_time": "0m",
        "shipping_contact_name": "",
        "shipping_address_line_1": null,
        "shipping_address_line_2": null,
        "shipping_city": null,
        "shipping_state": null,
        "shipping_zip": null,
        "term_contents": "",
        "created_at": "2018-03-16 18:02:30",
        "updated_at": "2018-03-16 18:02:30"
      },
      "disable_notifications": null,
      "show_store_updates": null,
      "allow_see_store": null,
      "campaigns_total": 0,
      "campaigns_registered": 0,
      "balance": 0,
      "registered": false
    }
  ]
}
{
  "status": false,
  "errorCode": "NO_ITEMS",
  "message": "There are no stores that you can share with this member"
}