├── .gitignore ├── LICENSE ├── README.md ├── composer.json ├── phpcs.xml ├── phpunit.xml.dist ├── src ├── AbstractService.php ├── Auth │ ├── Authorization.php │ └── AuthorizationInterface.php ├── Credential │ ├── Credential.php │ └── CredentialInterface.php ├── Service │ ├── Campaign.php │ ├── Category.php │ ├── Encryption.php │ ├── Interaction.php │ ├── Logistic.php │ ├── Order.php │ ├── Product.php │ ├── Resource.php │ ├── Shop.php │ └── Webhooks.php ├── ServiceFactory.php ├── ServiceFactoryInterface.php ├── ServiceFactoryTrait.php └── ServiceInterface.php └── tests ├── Auth └── AuthorizationTest.php ├── ConcreteServiceTest.php ├── Credential └── CredentialTest.php ├── Fixtures └── ConcreteService.php ├── Service ├── CampaignTest.php ├── CategoryTest.php ├── EncryptionTest.php ├── InteractionTest.php ├── LogisticTest.php ├── OrderTest.php ├── ProductTest.php ├── ServiceTestTrait.php ├── ShopTest.php └── WebhooksTest.php ├── ServiceFactoryTest.php ├── ServiceInterfaceMockTest.php └── data-fixtures ├── campaign ├── add-slash-price-fail.json ├── add-slash-price-ok.json ├── cancel-slash-price-fail.json ├── cancel-slash-price-ok.json ├── update-slash-price-fail.json ├── update-slash-price-ok.json ├── view-campaign-product.json └── view-slash-price.json ├── category ├── get-all-categories-with-keyword.json └── get-all-categories.json ├── encryption ├── public-key-valid.pub ├── register-public-key-fail.json └── register-public-key-ok.json ├── interaction ├── initiate-chat.json ├── list-message-fail.json ├── list-message.json ├── list-reply-fail.json ├── list-reply-ok.json └── send-reply.json ├── logistic ├── get-job-and-cod-fail.json ├── get-job-and-cod-ok.json ├── get-shipment-info-fail.json ├── get-shipment-info-ok.json ├── update-shipment-info-fail.json └── update-shipment-info-ok.json ├── order ├── accept-order-fail.json ├── accept-order-ok.json ├── get-all-orders-fail.json ├── get-all-orders-ok.json ├── get-shipping-label-fail.json ├── get-single-order-fail.json ├── get-single-order-ok.json ├── reject-order-fail.json ├── reject-order-ok.json ├── request-pick-up-fail.json ├── request-pick-up-ok.json ├── update-order-status-fail.json └── update-order-status-ok.json ├── product ├── check-upload-status-fail.json ├── check-upload-status-ok.json ├── create-product-fail.json ├── create-product-ok.json ├── create-product-request-data.json ├── delete-product-fail.json ├── delete-product-ok.json ├── delete-product-request-data.json ├── edit-product-fail.json ├── edit-product-ok.json ├── edit-product-request-data.json ├── get-all-etalase-fail.json ├── get-all-etalase-ok.json ├── get-all-variants-by-category-id-fail.json ├── get-all-variants-by-category-id-ok.json ├── get-all-variants-by-product-id-fail.json ├── get-all-variants-by-product-id-ok.json ├── get-product-info-fail-1.json ├── get-product-info-fail-2.json ├── get-product-info-fail-3.json ├── get-product-info-ok-1.json ├── get-product-info-ok-2.json ├── get-product-info-ok-3.json ├── set-active-product-fail.json ├── set-active-product-ok.json ├── set-active-product-request-data.json ├── set-inactive-product-fail.json ├── set-inactive-product-ok.json ├── set-inactive-product-request-data.json ├── update-price-only-fail.json ├── update-price-only-ok.json ├── update-price-only-request-data.json ├── update-stock-only-fail.json ├── update-stock-only-ok.json └── update-stock-only-request-data.json ├── shop ├── get-shop-info-fail.json ├── get-shop-info-ok.json ├── update-shop-status-fail.json ├── update-shop-status-ok.json └── update-shop-status-request-data.json └── webhooks ├── list-registered-webhooks-ok.json ├── register-webhooks-fail.json ├── register-webhooks-ok.json ├── trigger-webhook-fail.json └── trigger-webhook-ok.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | PHP SDK for Tokopedia REST API service. 2 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/composer.json -------------------------------------------------------------------------------- /phpcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/phpcs.xml -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/AbstractService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/AbstractService.php -------------------------------------------------------------------------------- /src/Auth/Authorization.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Auth/Authorization.php -------------------------------------------------------------------------------- /src/Auth/AuthorizationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Auth/AuthorizationInterface.php -------------------------------------------------------------------------------- /src/Credential/Credential.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Credential/Credential.php -------------------------------------------------------------------------------- /src/Credential/CredentialInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Credential/CredentialInterface.php -------------------------------------------------------------------------------- /src/Service/Campaign.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Service/Campaign.php -------------------------------------------------------------------------------- /src/Service/Category.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Service/Category.php -------------------------------------------------------------------------------- /src/Service/Encryption.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Service/Encryption.php -------------------------------------------------------------------------------- /src/Service/Interaction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Service/Interaction.php -------------------------------------------------------------------------------- /src/Service/Logistic.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Service/Logistic.php -------------------------------------------------------------------------------- /src/Service/Order.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Service/Order.php -------------------------------------------------------------------------------- /src/Service/Product.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Service/Product.php -------------------------------------------------------------------------------- /src/Service/Resource.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Service/Resource.php -------------------------------------------------------------------------------- /src/Service/Shop.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Service/Shop.php -------------------------------------------------------------------------------- /src/Service/Webhooks.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/Service/Webhooks.php -------------------------------------------------------------------------------- /src/ServiceFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/ServiceFactory.php -------------------------------------------------------------------------------- /src/ServiceFactoryInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/ServiceFactoryInterface.php -------------------------------------------------------------------------------- /src/ServiceFactoryTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/ServiceFactoryTrait.php -------------------------------------------------------------------------------- /src/ServiceInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/src/ServiceInterface.php -------------------------------------------------------------------------------- /tests/Auth/AuthorizationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/Auth/AuthorizationTest.php -------------------------------------------------------------------------------- /tests/ConcreteServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/ConcreteServiceTest.php -------------------------------------------------------------------------------- /tests/Credential/CredentialTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/Credential/CredentialTest.php -------------------------------------------------------------------------------- /tests/Fixtures/ConcreteService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/Fixtures/ConcreteService.php -------------------------------------------------------------------------------- /tests/Service/CampaignTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/Service/CampaignTest.php -------------------------------------------------------------------------------- /tests/Service/CategoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/Service/CategoryTest.php -------------------------------------------------------------------------------- /tests/Service/EncryptionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/Service/EncryptionTest.php -------------------------------------------------------------------------------- /tests/Service/InteractionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/Service/InteractionTest.php -------------------------------------------------------------------------------- /tests/Service/LogisticTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/Service/LogisticTest.php -------------------------------------------------------------------------------- /tests/Service/OrderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/Service/OrderTest.php -------------------------------------------------------------------------------- /tests/Service/ProductTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/Service/ProductTest.php -------------------------------------------------------------------------------- /tests/Service/ServiceTestTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/Service/ServiceTestTrait.php -------------------------------------------------------------------------------- /tests/Service/ShopTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/Service/ShopTest.php -------------------------------------------------------------------------------- /tests/Service/WebhooksTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/Service/WebhooksTest.php -------------------------------------------------------------------------------- /tests/ServiceFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/ServiceFactoryTest.php -------------------------------------------------------------------------------- /tests/ServiceInterfaceMockTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/ServiceInterfaceMockTest.php -------------------------------------------------------------------------------- /tests/data-fixtures/campaign/add-slash-price-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/campaign/add-slash-price-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/campaign/add-slash-price-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/campaign/add-slash-price-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/campaign/cancel-slash-price-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/campaign/cancel-slash-price-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/campaign/cancel-slash-price-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/campaign/cancel-slash-price-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/campaign/update-slash-price-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/campaign/update-slash-price-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/campaign/update-slash-price-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/campaign/update-slash-price-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/campaign/view-campaign-product.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/campaign/view-campaign-product.json -------------------------------------------------------------------------------- /tests/data-fixtures/campaign/view-slash-price.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/campaign/view-slash-price.json -------------------------------------------------------------------------------- /tests/data-fixtures/category/get-all-categories-with-keyword.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/category/get-all-categories-with-keyword.json -------------------------------------------------------------------------------- /tests/data-fixtures/category/get-all-categories.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/category/get-all-categories.json -------------------------------------------------------------------------------- /tests/data-fixtures/encryption/public-key-valid.pub: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/data-fixtures/encryption/register-public-key-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/encryption/register-public-key-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/encryption/register-public-key-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/encryption/register-public-key-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/interaction/initiate-chat.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/interaction/initiate-chat.json -------------------------------------------------------------------------------- /tests/data-fixtures/interaction/list-message-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/interaction/list-message-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/interaction/list-message.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/interaction/list-message.json -------------------------------------------------------------------------------- /tests/data-fixtures/interaction/list-reply-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/interaction/list-reply-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/interaction/list-reply-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/interaction/list-reply-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/interaction/send-reply.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/interaction/send-reply.json -------------------------------------------------------------------------------- /tests/data-fixtures/logistic/get-job-and-cod-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/logistic/get-job-and-cod-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/logistic/get-job-and-cod-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/logistic/get-job-and-cod-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/logistic/get-shipment-info-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/logistic/get-shipment-info-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/logistic/get-shipment-info-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/logistic/get-shipment-info-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/logistic/update-shipment-info-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/logistic/update-shipment-info-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/logistic/update-shipment-info-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/logistic/update-shipment-info-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/order/accept-order-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/order/accept-order-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/order/accept-order-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/order/accept-order-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/order/get-all-orders-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/order/get-all-orders-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/order/get-all-orders-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/order/get-all-orders-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/order/get-shipping-label-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/order/get-shipping-label-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/order/get-single-order-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/order/get-single-order-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/order/get-single-order-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/order/get-single-order-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/order/reject-order-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/order/reject-order-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/order/reject-order-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/order/reject-order-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/order/request-pick-up-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/order/request-pick-up-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/order/request-pick-up-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/order/request-pick-up-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/order/update-order-status-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/order/update-order-status-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/order/update-order-status-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/order/update-order-status-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/check-upload-status-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/check-upload-status-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/check-upload-status-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/check-upload-status-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/create-product-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/create-product-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/create-product-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/create-product-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/create-product-request-data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/create-product-request-data.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/delete-product-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/delete-product-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/delete-product-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/delete-product-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/delete-product-request-data.json: -------------------------------------------------------------------------------- 1 | {"product_id":[15362375]} -------------------------------------------------------------------------------- /tests/data-fixtures/product/edit-product-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/edit-product-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/edit-product-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/edit-product-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/edit-product-request-data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/edit-product-request-data.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/get-all-etalase-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/get-all-etalase-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/get-all-etalase-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/get-all-etalase-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/get-all-variants-by-category-id-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/get-all-variants-by-category-id-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/get-all-variants-by-category-id-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/get-all-variants-by-category-id-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/get-all-variants-by-product-id-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/get-all-variants-by-product-id-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/get-all-variants-by-product-id-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/get-all-variants-by-product-id-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/get-product-info-fail-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/get-product-info-fail-1.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/get-product-info-fail-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/get-product-info-fail-2.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/get-product-info-fail-3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/get-product-info-fail-3.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/get-product-info-ok-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/get-product-info-ok-1.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/get-product-info-ok-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/get-product-info-ok-2.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/get-product-info-ok-3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/get-product-info-ok-3.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/set-active-product-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/set-active-product-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/set-active-product-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/set-active-product-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/set-active-product-request-data.json: -------------------------------------------------------------------------------- 1 | {"product_id":[15362375,15306196]} -------------------------------------------------------------------------------- /tests/data-fixtures/product/set-inactive-product-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/set-inactive-product-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/set-inactive-product-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/set-inactive-product-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/set-inactive-product-request-data.json: -------------------------------------------------------------------------------- 1 | {"product_id":[15362375,15306196]} -------------------------------------------------------------------------------- /tests/data-fixtures/product/update-price-only-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/update-price-only-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/update-price-only-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/update-price-only-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/update-price-only-request-data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/update-price-only-request-data.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/update-stock-only-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/update-stock-only-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/update-stock-only-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/update-stock-only-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/product/update-stock-only-request-data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/product/update-stock-only-request-data.json -------------------------------------------------------------------------------- /tests/data-fixtures/shop/get-shop-info-fail.json: -------------------------------------------------------------------------------- 1 | {"data":null,"status":"400 Bad Request","error_message":["Invalid FS ID Format"]} -------------------------------------------------------------------------------- /tests/data-fixtures/shop/get-shop-info-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/shop/get-shop-info-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/shop/update-shop-status-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/shop/update-shop-status-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/shop/update-shop-status-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/shop/update-shop-status-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/shop/update-shop-status-request-data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/shop/update-shop-status-request-data.json -------------------------------------------------------------------------------- /tests/data-fixtures/webhooks/list-registered-webhooks-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/webhooks/list-registered-webhooks-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/webhooks/register-webhooks-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/webhooks/register-webhooks-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/webhooks/register-webhooks-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/webhooks/register-webhooks-ok.json -------------------------------------------------------------------------------- /tests/data-fixtures/webhooks/trigger-webhook-fail.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/webhooks/trigger-webhook-fail.json -------------------------------------------------------------------------------- /tests/data-fixtures/webhooks/trigger-webhook-ok.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/plvhx/tokopedia-php-sdk/HEAD/tests/data-fixtures/webhooks/trigger-webhook-ok.json --------------------------------------------------------------------------------