opero-crm/erli-api

API pozwala na zarządzanie zamówieniami, produktami i wiadomościami.<br /> <a href='/svc/shop-api/doc/CHANGELOG.txt'>CHANGELOG</a><br /> <a href='/svc/shop-api/doc'>Informacje o API</a>

Maintainers

Package info

bitbucket.org/westdooorclean/erli-api

Homepage

pkg:composer/opero-crm/erli-api

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

0.0.1 2026-03-13 11:28 UTC

This package is auto-updated.

Last update: 2026-03-13 11:36:50 UTC


README

API pozwala na zarządzanie zamówieniami, produktami i wiadomościami.

  <a href='/svc/shop-api/doc/CHANGELOG.txt'>CHANGELOG</a><br />
  <a href='/svc/shop-api/doc'>Informacje o API</a>

Build

To generate library run make generate. To generate and release new package version run make publish.

Installation & Usage

Requirements

PHP 8.1 and later.

Composer

Run composer require opero-crm/erli-api

Laravel Integration

When using in a Laravel application, the package auto-registers the service provider and Erli facade. Set token and host before making API calls:

use OperoCRM\ErliApi\Laravel\Facades\Erli;

// Set credentials on the default instance (fluent)
Erli::setToken($token);
$orders = Erli::order()->getOrders();

// Multiple instances - create separate API clients per account
$shop1 = Erli::create($token1);
$shop2 = Erli::create($token2);
$orders1 = $shop1->order()->getOrders();
$orders2 = $shop2->order()->getOrders();

Or via dependency injection:

use OperoCRM\ErliApi\Laravel\ErliApi;

public function __construct(ErliApi $erliApi)
{
    $this->erliApi = $erliApi;
}

// Configure and use
$this->erliApi->setToken($token)->order()->...

API Endpoints

All URIs are relative to https://erli.pl/svc/shop-api

ClassMethodHTTP requestDescription
BillingApibillingCompanyEntriesPostPOST /billing/company/entrieshistoria rozliczeń firmy z ERLI (dotyczy wszystkich sklepów)
BillingApibillingCompanyRebatesPostPOST /billing/company/rebatesrezerwa i historia rabatów firmy (dotyczy wszystkich sklepów)
BillingApibillingEntriesPostPOST /billing/entrieshistoria rozliczeń sklepu z ERLI (należy używać /billing/company/entries z filtrem shopId)
CampaignsApicampaignsCampaignsSummaryGetGET /campaigns/campaigns-summarypodsumowanie kosztów dla sklepu
CommissionApicommissionsEstimatePostPOST /commissions/_estimateestymowana na aktualny dzień prowizja
DictionaryApidictionariesAttachmentAttachPatchPATCH /dictionaries/attachment/attachdodaj produkty do załącznika
DictionaryApidictionariesAttachmentDetachPatchPATCH /dictionaries/attachment/detachusuń produkty z załącznika
DictionaryApidictionariesAttachmentPatchPATCH /dictionaries/attachmentaktualizuj załącznik
DictionaryApidictionariesAttachmentPostPOST /dictionaries/attachmentutwórz załącznik
DictionaryApidictionariesAttachmentsDeleteDELETE /dictionaries/attachmentsusuń załączniki
DictionaryApidictionariesAttachmentsGetGET /dictionaries/attachmentspobierz listę załączników
DictionaryApidictionariesAttributeValuesSearchPostPOST /dictionaries/attributeValues/_searchpobierz listę wartości atrybutów słownikowych
DictionaryApidictionariesAttributesSearchPostPOST /dictionaries/attributes/_searchpobierz listę atrybutów
DictionaryApidictionariesBillingEntryTypesGetGET /dictionaries/billingEntryTypestypy operacji
DictionaryApidictionariesCategoriesSearchPostPOST /dictionaries/categories/_searchpobierz listę kategorii
DictionaryApidictionariesCategorySearchPostPOST /dictionaries/category/_searchpobierz listę kategorii
DictionaryApidictionariesDeliveryMethodsGetGET /dictionaries/deliveryMethodspobierz listę metod dostawy
DictionaryApidictionariesDeliveryMethodsPriceListGetGET /dictionaries/deliveryMethods/{priceList}pobierz listę metod dostawy dla danego cennika
DictionaryApidictionariesDeliveryVendorsGetGET /dictionaries/deliveryVendorspobierz listę firm przewozowych
DictionaryApidictionariesResponsiblePersonsGetGET /dictionaries/responsiblePersonspobierz listę osób odpowiedzialnych za wprowadzenie produktu
DictionaryApidictionariesResponsiblePersonsIdDeleteDELETE /dictionaries/responsiblePersons/{id}usuń osobę odpowiedzialną za wprowadzenie produktu
DictionaryApidictionariesResponsiblePersonsIdPatchPATCH /dictionaries/responsiblePersons/{id}aktualizuj osobę odpowiedzialną za wprowadzenie produktu
DictionaryApidictionariesResponsiblePersonsPostPOST /dictionaries/responsiblePersonsutwórz osobę odpowiedzialną za wprowadzenie produktu
DictionaryApidictionariesResponsibleProducersGetGET /dictionaries/responsibleProducerspobierz listę producentów produktu
DictionaryApidictionariesResponsibleProducersIdDeleteDELETE /dictionaries/responsibleProducers/{id}usuń producenta produktu
DictionaryApidictionariesResponsibleProducersIdPatchPATCH /dictionaries/responsibleProducers/{id}aktualizuj producenta produktu
DictionaryApidictionariesResponsibleProducersPostPOST /dictionaries/responsibleProducersutwórz producenta produktu
DictionaryApidictionariesShippingMethodsGetGET /dictionaries/shippingMethodspobierz listę metod dostaw ERLI
HookApihooksCheckBuyabilityRunPostPOST /hooks/checkBuyability/runUruchom hook \"checkBuyability\"
HookApihooksGetGET /hookspobierz listę hooków
HookApihooksHookNameDeleteDELETE /hooks/{hookName}usuń hook
HookApihooksHookNamePutPUT /hooks/{hookName}utwórz/nadpisz hook
HookApihooksProductsNeedSyncRunPostPOST /hooks/productsNeedSync/runUruchom hook \"productsNeedSync\"
InboxApiinboxGetGET /inboxpobierz 500 najstarszych nieprzeczytanych wiadomości
InboxApiinboxMarkReadPostPOST /inbox/mark-readpotwierdź pobranie wiadomości
InboxApiinboxSearchPostPOST /inbox/_searchwyszukaj po kryteriach 500 najstarszych nieprzeczytanych wiadomości
OrderApiordersIdGetGET /orders/{id}pobierz zamówienie
OrderApiordersIdPatchPATCH /orders/{id}aktualizuj zamówienie
OrderApiordersIdStatusPatchPATCH /orders/{id}/statuszmień status zamówienia
OrderApiordersSearchPostPOST /orders/_searchwyszukaj zamówienia
PaymentApipaymentsIdGetGET /payments/{id}pobierz płatność
PaymentApipaymentsOperationsIdGetGET /payments/operations/{id}pobierz operację płatności, wypłaty lub zwrotu
PaymentApipaymentsOperationsSearchPostPOST /payments/operations/_searchwyszukaj operacje płatności, wypłat lub zwrotów
PaymentApipaymentsPayoutsIdGetGET /payments/payouts/{id}pobierz wypłatę
PaymentApipaymentsPayoutsSearchPostPOST /payments/payouts/_searchwyszukaj wypłaty
PaymentApipaymentsSearchPostPOST /payments/_searchwyszukaj płatności
PriceListApideliveryPriceListIdPatchPATCH /delivery/priceList/{id}zaktualizuj cennik dostaw
PriceListApideliveryPriceListPostPOST /delivery/priceListutwórz nowy cennik dostaw
PriceListApideliveryPriceListsDetailsGetGET /delivery/priceListsDetailspobierz szczegółową listę cenników dostaw
PriceListApideliveryPriceListsGetGET /delivery/priceListspobierz listę cenników dostaw
ProductApiproductsBatchUpdatePatchPATCH /products/batch-updateaktualizuj wiele produktów jednocześnie
ProductApiproductsExternalIdDiscountGetGET /products/{externalId}/discountpobierz promocję czasową
ProductApiproductsExternalIdDiscountPostPOST /products/{externalId}/discountutwórz promocję czasową
ProductApiproductsExternalIdGetGET /products/{externalId}pobierz produkt
ProductApiproductsExternalIdPatchPATCH /products/{externalId}zaktualizuj produkt
ProductApiproductsExternalIdPostPOST /products/{externalId}utwórz nowy produkt
ProductApiproductsSearchPostPOST /products/_searchwyszukaj produkty
ShippingApishippingExternalIdDeleteDELETE /shipping/external/{id}Usuń paczkę zewnętrzną
ShippingApishippingExternalIdGetGET /shipping/external/{id}Pobierz dane paczki zewnętrznej
ShippingApishippingExternalIdPatchPATCH /shipping/external/{id}Edytuj paczkę zewnętrzną
ShippingApishippingExternalPostPOST /shipping/externalUtwórz paczki zewnętrzne
ShippingApishippingParcelsIdDeleteDELETE /shipping/parcels/{id}Anuluj paczkę
ShippingApishippingParcelsIdGetGET /shipping/parcels/{id}Pobierz dane paczki
ShippingApishippingParcelsPostPOST /shipping/parcels/Utwórz paczki do nadania
ShippingApishippingParcelsSearchPostPOST /shipping/parcels/_searchWyszukaj paczki
ShippingApishippingPickupProtocolsGetGET /shipping/pickupProtocolsPobierz url do potwierdzeń odebrania paczek przez kuriera
ShippingApishippingPostingPointsGetGET /shipping/postingPointsPobierz listę zdefiniowanych punktów nadania paczek
ShopApimeGetGET /mepobierz mój sklep

Models

  • AddAttachmentRequest
  • AttachmentResponse
  • AttributeFilter
  • AttributeResponseInner
  • AttributeValuesFilter
  • AttributeValuesResponseInner
  • BillingEntriesRequest
  • BillingEntriesRequestPagination
  • BillingEntriesRequestSimpleFilter
  • BillingEntriesResponseInner
  • BillingEntriesResponseInnerRebateOriginInner
  • BillingEntryTypesResponseInner
  • CategoryAttributeResponse
  • CategoryAttributeResponseBreadcrumbInner
  • CategoryFilter
  • CategoryResponse
  • CheckBuyabilityRequestInner
  • CheckBuyabilityResponseInner
  • CreateDiscount
  • CreateExternalParcelInner
  • CreateExternalParcelInnerTrackingNumber
  • CreateExternalParcelResponse
  • CreateExternalParcelResponseAnyOf
  • CreateExternalParcelResponseAnyOf1
  • CreateParcelsInner
  • CreateParcelsInnerDimensions
  • CreateParcelsInnerShipping
  • CreateParcelsInnerShippingReceiver
  • CreatePriceListSchema
  • CreatePriceListSchemaPricesInner
  • CreatePriceListSchemaPricesInnerDeliveryMethod
  • CreatePriceListSchemaPricesInnerDeliveryMethodDeliveryTime
  • CreatePriceListSchemaPricesInnerLimit
  • CreatePriceListSchemaPricesInnerLimitOneOfInner
  • CreateResponsibleSchema
  • DeleteAttachmentsResponse
  • DeliveryMethod
  • Discount
  • EditExternalParcel
  • Error
  • ErrorPayload
  • ErrorResponseInner
  • EstimateCommissionRequest
  • EstimateCommissionResponse
  • ExternalParcel
  • ExternalParcelShipping
  • GetAttachmentsResponseInner
  • GetAttachmentsResponseInnerCreated
  • GetAttachmentsResponseInnerCreatedUser
  • HookResponseInner
  • HookSave
  • ManageAttachedProducts
  • MarkRead
  • MarkReadAnyOf
  • MarkReadAnyOf1
  • Message
  • MessagePayload
  • MessagePayloadAnyOf
  • MessagePayloadAnyOf1
  • MessagePayloadAnyOf2
  • MessagePayloadAnyOf3
  • MessageRequest
  • Order
  • OrderDelivery
  • OrderDeliveryPickupPlace
  • OrderDeliveryTracking
  • OrderDeliveryTrackingAnyOf
  • OrderDeliveryTrackingAnyOf1
  • OrderFilter
  • OrderFilterAnyOf
  • OrderFilterAnyOf1
  • OrderFilterAnyOf1Value
  • OrderFilterAnyOf1ValueAnyOfInner
  • OrderFilterAnyOf2
  • OrderFilterAnyOf3
  • OrderFilterAnyOfValue
  • OrderFilterAnyOfValueAnyOf
  • OrderItemsInner
  • OrderPayment
  • OrderRebate
  • OrderReturnsInner
  • OrderReturnsInnerBankAccount
  • OrderReturnsInnerItemsInner
  • OrderSearch
  • OrderSearchPagination
  • OrderSearchPaginationAfter
  • OrderSearchPaginationAfterAnyOf
  • OrderUpdate
  • OrderUpdateStatus
  • OrderUser
  • OrderUserDeliveryAddress
  • OrderUserInvoiceAddress
  • Parcel
  • ParcelShipping
  • ParcelShippingReceiver
  • ParcelShippingSender
  • ParcelStatusHistoryInner
  • PatchAttachmentRequest
  • Payment
  • PaymentsOperationsIdGet200Response
  • PaymentsOperationsSearchPost200ResponseInner
  • PaymentsOperationsSearchPostRequestInner
  • Payout
  • PayoutFilter
  • PickupProtocols
  • PostingPoint
  • PostingPointAnyOf
  • PostingPointAnyOf1
  • PostingPointAnyOf1Location
  • PostingPointAnyOf1PointAddress
  • PostingPointAnyOf2
  • PostingPointAnyOf2PointsInner
  • PriceListDetailsSchema
  • ProductBatchResponseInner
  • ProductBatchResponseInnerError
  • ProductBatchResponseInnerErrorPayload
  • ProductBatchResponseInnerResult
  • ProductCreate
  • ProductCreateDescription
  • ProductCreateDescriptionAnyOf
  • ProductCreateDescriptionAnyOfSectionsInner
  • ProductCreateDescriptionAnyOfSectionsInnerItemsInner
  • ProductCreateDispatchTime
  • ProductCreateDispatchTimePeriod
  • ProductCreateExternalAttributesInner
  • ProductCreateExternalAttributesInnerAnyOf
  • ProductCreateExternalAttributesInnerAnyOf1
  • ProductCreateExternalAttributesInnerAnyOf1Values
  • ProductCreateExternalAttributesInnerAnyOf2
  • ProductCreateExternalAttributesInnerAnyOf2ValuesInner
  • ProductCreateExternalAttributesInnerAnyOf3
  • ProductCreateExternalAttributesInnerAnyOfId
  • ProductCreateExternalCategoriesInner
  • ProductCreateExternalReferencesInner
  • ProductCreateExternalReferencesInnerAnyOf
  • ProductCreateExternalResponsiblePersonInner
  • ProductCreateExternalResponsibleProducerInner
  • ProductCreateExternalVariantGroup
  • ProductCreateExternalVariantGroupAttributesInner
  • ProductCreateFilesInner
  • ProductCreateFrozen
  • ProductCreateImagesInner
  • ProductCreatePackaging
  • ProductCreateProductAttachmentsInner
  • ProductFields
  • ProductFilter
  • ProductFilterAnyOf
  • ProductFilterAnyOf1
  • ProductFilterAnyOf1Value
  • ProductFilterAnyOf2
  • ProductFilterAnyOf2Value
  • ProductFilterAnyOf3
  • ProductFilterAnyOf4
  • ProductFilterAnyOfValue
  • ProductResponse
  • ProductResponseAttributesInner
  • ProductResponseCategoriesInnerInner
  • ProductResponseExternalId
  • ProductResponseFrozen
  • ProductResponseImagesInner
  • ProductResponseTranslations
  • ProductResponseTranslationsPl
  • ProductResponseTranslationsPlAttributesInner
  • ProductResponseTranslationsPlAttributesInnerValues
  • ProductResponseTranslationsPlAttributesInnerValuesAnyOf
  • ProductSearch
  • ProductSearchPagination
  • ProductSearchPaginationAfter
  • ProductUpdate
  • ProductUpdateFrozen
  • ProductUpdateOverrideFrozen
  • ProductUpdateResponse
  • ProductsBatchUpdatePatchRequestInner
  • ProductsNeedSyncRequest
  • PrzestarzaYSposBAktualizacjiPrzesyKi
  • PrzestarzaYSposBAktualizacjiPrzesyKi1
  • ResponsibleSchema
  • SearchParcels
  • SearchParcelsFilter
  • SearchParcelsFilterAnyOf
  • SearchParcelsFilterAnyOf1
  • SearchParcelsFilterAnyOf1Value
  • SearchParcelsFilterAnyOfValue
  • SearchPayments
  • SearchPaymentsFilter
  • SearchPaymentsFilterAnyOf
  • SearchPaymentsFilterAnyOf1
  • SearchPaymentsFilterAnyOf1Value
  • SearchPaymentsFilterAnyOfValue
  • SearchPaymentsPagination
  • SearchPaymentsPaginationAfter
  • SearchPayout
  • SearchPayoutFilter
  • SearchPayoutFilterAnyOf
  • SearchPayoutFilterAnyOf1
  • SearchPayoutFilterAnyOf2
  • SearchPayoutFilterAnyOf3
  • SearchPayoutFilterAnyOfValue
  • SearchPayoutPagination
  • SearchPayoutPaginationAfter
  • SearchTransactions
  • ShippingMethod
  • ShippingMethodMaxDimensions
  • ShippingMethodMaxDimensionsAnyOf
  • ShippingMethodMaxDimensionsAnyOf1
  • ShippingMethodMaxPointDimensions
  • ShippingMethodMinDimensions
  • ShopCampaignsCostSummaryRequest
  • ShopCampaignsCostSummaryResponse
  • ShopCampaignsCostSummaryResponseDataInner
  • ShopResponse
  • ShopResponseCompany
  • Transaction
  • TransactionCustomer
  • TransactionOrdersInner
  • TransactionOrdersInnerItemsInner
  • TransactionRefund
  • UpdatePriceListSchema
  • UpdateResponsibleSchema
  • Vendor

Authorization

Authentication schemes defined for the API:

bearer

  • Type: Bearer authentication

Author

OperoCRM - HexagonDev 2026

About this package

This PHP package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0
    • Package version: 0.0.1
    • Generator version: 7.19.0
  • Build package: org.openapitools.codegen.languages.PhpClientCodegen