Ir al contenido

Establecimientos y puntos de venta

GET
/emitters/{id}/establishments
curl --request GET \
--url https://api.sudte.com/v1/emitters/example/establishments \
--header 'Authorization: Bearer <token>'
id
obligatorio
string

Lista

Media type application/json
object
data
Array<object>
object
id
string
code
obligatorio

Código MH (M001, S001, …)

string
name

Nombre interno de la sucursal

string
type
obligatorio

CAT-009

string
address
obligatorio
object
department

CAT-012

string
municipality

CAT-013

string
district

CAT-008

string
line
string
phone
string
email
string format: email
active
boolean
default: true
points_of_sale
Array<object>
object
code
string
name
string
active
boolean
default: true

Example

{
"data": [
{
"active": true,
"points_of_sale": [
{
"active": true
}
]
}
]
}