// This file is autogenerated, DO NOT EDIT
// mapping/types/shape.asciidoc:284

[source, python]
----
resp = client.index(
    index="example",
    document={
        "location": {
            "type": "multipoint",
            "coordinates": [
                [
                    1002,
                    1002
                ],
                [
                    1003,
                    2000
                ]
            ]
        }
    },
)
print(resp)
----
