Skip to content

Add woo_commerce_retailer_id to products API request#2958

Closed
crisojog wants to merge 1 commit intomainfrom
Retailer_id
Closed

Add woo_commerce_retailer_id to products API request#2958
crisojog wants to merge 1 commit intomainfrom
Retailer_id

Conversation

@crisojog
Copy link
Copy Markdown

@crisojog crisojog commented Mar 21, 2025

Description

This PR changes the API response to include the actual product retailer ID set in WooCommerce. This will later be used to generate the checkout URL.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Screenshots

Please provide screenshots or snapshots of the system/state both before and after implementing the changes, if appropriate

N/A - backend change

Test instructions

./vendor/bin/phpunit --filter fbproductTest

Checklist

  • I followed general Pull Request best practices. Meta employees to follow this wiki
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests and all the new and existing unit tests pass locally with my changes
  • I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

Changelog entry

Add woo_commerce_retailer_id to products API request

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@crisojog has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@crisojog merged this pull request in 54596b4.

tzahgr pushed a commit that referenced this pull request Mar 24, 2025
Summary:
## Description

This PR changes the API response to include the actual product retailer ID set in WooCommerce. This will later be used to generate the checkout URL.

### Type of change

- [ x ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

## Screenshots
Please provide screenshots or snapshots of the system/state both before and after implementing the changes, if appropriate

N/A - backend change

## Test instructions

./vendor/bin/phpunit --filter fbproductTest

## Checklist

- [ x ] I followed general Pull Request best practices. Meta employees to follow this [wiki]([url](https://fburl.com/wiki/2cgfduwc))
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added tests and all the new and existing unit tests pass locally with my changes
- [ ] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

## Changelog entry

Add woo_commerce_retailer_id to products API request

Pull Request resolved: #2958

Reviewed By: vinkmeta

Differential Revision: D71630166

Pulled By: crisojog

fbshipit-source-id: c13bc1edb9a5f11d0b9907b84aac5886fe044064
@sol-loup sol-loup mentioned this pull request Mar 25, 2025
7 tasks
@tzahgr tzahgr mentioned this pull request Mar 27, 2025
SayanPandey pushed a commit to SayanPandey/facebook-for-woocommerce that referenced this pull request Apr 1, 2025
Summary:
## Description

This PR changes the API response to include the actual product retailer ID set in WooCommerce. This will later be used to generate the checkout URL.

### Type of change

- [ x ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

## Screenshots
Please provide screenshots or snapshots of the system/state both before and after implementing the changes, if appropriate

N/A - backend change

## Test instructions

./vendor/bin/phpunit --filter fbproductTest

## Checklist

- [ x ] I followed general Pull Request best practices. Meta employees to follow this [wiki]([url](https://fburl.com/wiki/2cgfduwc))
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added tests and all the new and existing unit tests pass locally with my changes
- [ ] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

## Changelog entry

Add woo_commerce_retailer_id to products API request

Pull Request resolved: facebook#2958

Reviewed By: vinkmeta

Differential Revision: D71630166

Pulled By: crisojog

fbshipit-source-id: c13bc1edb9a5f11d0b9907b84aac5886fe044064
mradmeta pushed a commit that referenced this pull request Apr 14, 2025
Summary:
## Description

This PR changes the API response to include the actual product retailer ID set in WooCommerce. This will later be used to generate the checkout URL.

### Type of change

- [ x ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

## Screenshots
Please provide screenshots or snapshots of the system/state both before and after implementing the changes, if appropriate

N/A - backend change

## Test instructions

./vendor/bin/phpunit --filter fbproductTest

## Checklist

- [ x ] I followed general Pull Request best practices. Meta employees to follow this [wiki]([url](https://fburl.com/wiki/2cgfduwc))
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added tests and all the new and existing unit tests pass locally with my changes
- [ ] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

## Changelog entry

Add woo_commerce_retailer_id to products API request

Pull Request resolved: #2958

Reviewed By: vinkmeta

Differential Revision: D71630166

Pulled By: crisojog

fbshipit-source-id: c13bc1edb9a5f11d0b9907b84aac5886fe044064
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants