Skip to main content

Store

v1

Description

Get notified on creation or updation in the selling locations (stores).


Supported Type

  • Create
  • Update

Payload

Create

{
"event":{
"trace_id":[
"WheelJack.c35179e8-8c17-11ed-947d-f6ad1cb4bb4a"
],
"name":"location",
"type":"create",
"version":"1",
"created_timestamp":1672826920738,
"id":"FFbUx55C6ZIueg0OArtNI0QFOfAVOsQFxeyEINDzvzU=",
"category":"company"
},
"company_id":11,
"contains":[
"location"
],
"payload":{
"location":{
"product_return_config":{
"on_same_store":false,
"store_uid":13
},
"address":{
"latitude":19.1169677,
"address1":"1st Floor, Wework Vijay Diamond, Opp. SBI Branch, Cross Road B, Ajit Nagar, Kondivita, Andheri East",
"address2":"",
"pincode":400093,
"city":"Mumbai",
"landmark":"",
"state":"Maharashtra",
"country":"India",
"longitude":72.8683676
},
"modified_on":"2023-01-04T10:08:40.724367",
"created_by":{
"user_id":"b53de7737ade692608ffe62f",
"username":"bhargavdadi_gofynd_com_19988"
},
"display_name":"RTI Marketplaces",
"uid":10144,
"timing":[
{
"closing":{
"minute":0,
"hour":22
},
"weekday":"monday",
"opening":{
"minute":0,
"hour":11
},
"open":true
},
{
"closing":{
"minute":0,
"hour":22
},
"weekday":"tuesday",
"opening":{
"minute":0,
"hour":11
},
"open":true
},
{
"closing":{
"minute":0,
"hour":22
},
"weekday":"wednesday",
"opening":{
"minute":0,
"hour":11
},
"open":true
},
{
"closing":{
"minute":0,
"hour":22
},
"weekday":"thursday",
"opening":{
"minute":0,
"hour":11
},
"open":true
},
{
"closing":{
"minute":0,
"hour":22
},
"weekday":"friday",
"opening":{
"minute":0,
"hour":11
},
"open":true
},
{
"closing":{
"minute":0,
"hour":22
},
"weekday":"saturday",
"opening":{
"minute":0,
"hour":11
},
"open":true
},
{
"closing":{
"minute":0,
"hour":22
},
"weekday":"sunday",
"opening":{
"minute":0,
"hour":11
},
"open":true
}
],
"notification_emails":[
"test@email.cmo"
],
"manager":{
"name":"Test Name",
"mobile_no":{
"number":"9999999999",
"country_code":91
},
"email":"testemail@gmail.com"
},
"documents":[

],
"stage":"verified",
"name":"RTI Marketplaces",
"modified_by":{
"user_id":"b53de7737ade692608ffe62f",
"username":"bhargavdadi_gofynd_com_19988"
},
"created_on":"2023-01-04T10:08:40.724357",
"gst_credentials":{
"e_waybill":{
"enabled":false
},
"e_invoice":{
"username":"bhargavdadi@gofynd.com",
"password":"xyQl1XNzO6q1fzMyRJTTwA==",
"enabled":true
}
},
"warnings":{

},
"store_type":"mall",
"code":"RTIFIRE",
"company":11,
"contact_numbers":[
{
"number":"9999999999",
"country_code":91
},
{
"number":"9999999991",
"country_code":91
}
],
"_id":"63b55028581bc0545da1e03c"
}
}
}

Update

{
"event":{
"trace_id":[
"WheelJack.1f72e1aa-8c16-11ed-b469-e209048bbadd"
],
"name":"location",
"type":"update",
"version":"1",
"created_timestamp":1672826216314,
"id":"Vx5T2R8DzuQ5RiIZWMEKBgXsojHM3E5KCBa2uEIEXgY=",
"category":"company"
},
"company_id":11,
"contains":[
"location"
],
"payload":{
"location":{
"address":{
"address1":"No. A3&B2, Cross Rd B, Marol, Industrial Area",
"country":"India",
"pincode":401107,
"latitude":19.0759837,
"landmark":"",
"address2":"",
"state":"Maharashtra",
"longitude":72.8776559,
"city":"Mumbai"
},
"modified_on":"2023-01-04T09:56:55.017000",
"gst_credentials":{
"e_waybill":{
"enabled":false
},
"e_invoice":{
"enabled":false
}
},
"created_on":"2022-12-13T10:02:06.986000",
"documents":[

],
"uid":13,
"contact_numbers":[
{
"number":"7700059124",
"country_code":91
}
],
"timing":[
{
"closing":{
"hour":21,
"minute":30
},
"open":true,
"weekday":"monday",
"opening":{
"hour":11,
"minute":0
}
},
{
"closing":{
"hour":21,
"minute":30
},
"open":true,
"weekday":"tuesday",
"opening":{
"hour":11,
"minute":0
}
},
{
"closing":{
"hour":21,
"minute":30
},
"open":true,
"weekday":"wednesday",
"opening":{
"hour":11,
"minute":0
}
},
{
"closing":{
"hour":21,
"minute":30
},
"open":true,
"weekday":"thursday",
"opening":{
"hour":11,
"minute":0
}
},
{
"closing":{
"hour":21,
"minute":30
},
"open":true,
"weekday":"friday",
"opening":{
"hour":11,
"minute":0
}
},
{
"closing":{
"hour":21,
"minute":30
},
"open":true,
"weekday":"saturday",
"opening":{
"hour":11,
"minute":0
}
},
{
"closing":{
"hour":21,
"minute":30
},
"open":true,
"weekday":"sunday",
"opening":{
"hour":11,
"minute":0
}
}
],
"company":11,
"name":"RTI Marketplaces 🔥",
"stage":"verified",
"created_by":{
"user_id":"ecf4223c2df32a259d38d064",
"username":"sujoydev_gofynd_com_72911"
},
"warnings":{

},
"product_return_config":{
"on_same_store":true
},
"display_name":"RTI Marketplaces 🔥",
"modified_by":{
"user_id":"b53de7737ade692608ffe62f",
"username":"bhargavdadi_gofynd_com_19988"
},
"manager":{
"mobile_no":{
"number":"7700059124",
"country_code":91
},
"email":"sujoydev@gofynd.com",
"name":"Sujoy Dev"
},
"store_type":"high_street",
"notification_emails":[
"sujoydev@gofynd.com"
],
"code":"HS-2744d",
"verified_by":{
"username":"WheelJack",
"user_id":"0"
},
"verified_on":"2023-01-04T09:56:56.249922"
}
}
}

Object Properties

KeyTypeDescription
uidintegerID of the store created.
codestringunique code assciated to store for identification
namestringname of the store created
store_typestringCategory in which the store falls. For eg, Mall, High Street, Warehouse
companyintegerCompany ID of the store.
display_namestringDisplay name of the store.
documentsarrayBusiness documents of the store. For eg. GST
notification_emailsarrayEmail address of the store
addressobjectAddress of the store stituated at.
managerobjectDetails regarding the store manager.
contact_numbersarraystore contact_numbers.
product_return_configobjectInfo regarding the product return journey.
timingarrayTimings of the store for the wholeweek.
gst_credentialsobjectCredentials of the store to generate e_waybill & e_invoice
additional_contactsarrayAdditional Contacts of the Store
stagestringVerification stage of the Store
_custom_jsonobjectextra information required by the external systems
warningsobjectwarning raised during the exception
created_onstringTimestamp of the creation
modified_onstringTimestamp of update
verified_onstringTimestamp of verification
created_byobjectUser detail of the creator
modified_byobjectUser detail of the modifier
verified_byobjectUser detail of the verifier