ERP XT icon

ERP XT

Integracja z Comarch ERP XT (Betterfly) - faktury, kontrahenci, produkty

Kontrahent → Pobierz wszystkich

AI-generated

Summary

Pobiera listę wszystkich kontrahentów z Comarch ERP XT. Filtruj po NIP lub zastosuj filtr OData.

Inputs

  • customerOptions — Opcje filtrowania dla operacji getAll. Obsługuje pole 'nip' do filtrowania po NIP oraz pole 'filter' do ogólnego filtru OData (np. Name eq 'Firma').

Output shape

array

Zwraca tablicę obiektów kontrahentów z endpointu API v1.2/customers. Każdy obiekt zawiera pola takie jak Id, Name, CustomerTaxNumber, Mail, PhoneNumber, CustomerType, CustomerStatus, CountryCode, RepresentativeFirstName, RepresentativeLastName, Street, BuildingNumber, FlatNumber, PostalCode, City itp.

Examples

Example 1: Pobierz wszystkich kontrahentów bez filtrów

Brak ustawionych opcji w customerOptions. Operacja zwróci wszystkich dostępnych kontrahentów.

Example 2: Pobierz kontrahenta po NIP

Wartość '123456789' w polu nip parametru customerOptions. Operacja zwróci kontrahenta o podanym NIP.

Links

Discussion